This commit is contained in:
DTieman
2023-09-14 09:46:26 +02:00
committed by GitHub
parent ae64e62201
commit f35bbfe15f

View File

@@ -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