commit 11
Some checks failed
First CI / build (linux-x64) (push) Failing after 2m19s
First CI / build (win-x64) (push) Failing after 2m7s

This commit is contained in:
QwertyAvatar 2023-12-01 11:56:50 +01:00
parent d68aafafc3
commit 303dcc2e01

View File

@ -8,9 +8,22 @@ jobs:
matrix:
rid: ["win-x64", "linux-x64"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- run: dotnet restore
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
- name: Restore dependencies
run: dotnet restore
- name: Publish application
run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.rid }}-artifacts
path: app