Rollback
This commit is contained in:
53
.github/workflows/main.yml
vendored
53
.github/workflows/main.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build Mau & Deploy Mau
|
name: Build Mau & Deploy Mau
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -20,30 +20,27 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: a
|
- name: Checkout
|
||||||
run: reboot now
|
uses: actions/checkout@main
|
||||||
# - name: Checkout
|
with:
|
||||||
# uses: actions/checkout@main
|
fetch-depth: 0
|
||||||
# with:
|
- name: Setup .NET Core
|
||||||
# fetch-depth: 0
|
uses: actions/setup-dotnet@main
|
||||||
# - name: Setup .NET Core
|
with:
|
||||||
# uses: actions/setup-dotnet@main
|
dotnet-version: 7.0.x
|
||||||
# with:
|
- name: Install dependencies
|
||||||
# dotnet-version: 7.0.x
|
run: dotnet restore
|
||||||
# - name: Install dependencies
|
- name: Build
|
||||||
# run: dotnet restore
|
run: dotnet build --configuration Release --no-restore
|
||||||
# - name: Build
|
- name: Test
|
||||||
# run: dotnet build --configuration Release --no-restore
|
run: dotnet test --no-restore --verbosity normal
|
||||||
# - name: Test
|
deploy:
|
||||||
# run: dotnet test --no-restore --verbosity normal
|
runs-on: self-hosted
|
||||||
# deploy:
|
needs: build
|
||||||
# runs-on: self-hosted
|
steps:
|
||||||
# needs: build
|
- name: Checkout
|
||||||
# steps:
|
uses: actions/checkout@main
|
||||||
# - name: Checkout
|
with:
|
||||||
# uses: actions/checkout@main
|
fetch-depth: 0
|
||||||
# with:
|
- name: Docker Compose
|
||||||
# fetch-depth: 0
|
run: docker compose up -d --build
|
||||||
# - name: Docker Compose
|
|
||||||
# run: docker compose up -d --build
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user