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