zadanie 5 samodzielne
This commit is contained in:
parent
8172ce061e
commit
45ff334064
@ -1,7 +1,5 @@
|
||||
name: First CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@ -9,13 +7,13 @@ jobs:
|
||||
matrix:
|
||||
rid: ["win-x64", "linux-x64"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v3
|
||||
- uses: actions/checkout@v4
|
||||
- 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
|
||||
- uses: actions/upload-artifact@v2
|
||||
- run: dotnet restore
|
||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.rid }}-artifacts
|
||||
path: app
|
||||
|
Loading…
x
Reference in New Issue
Block a user