zadanie 5 sam
This commit is contained in:
parent
2df0de69ef
commit
d5738a6c26
@ -1,5 +1,7 @@
|
|||||||
name: First CI
|
name: First CI
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -7,9 +9,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
rid: ["win-x64", "linux-x64"]
|
rid: ["win-x64", "linux-x64"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- run: dotnet restore
|
run: dotnet restore
|
||||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
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