upd zad5
This commit is contained in:
parent
c8bc122954
commit
b85d646526
@ -1,5 +1,9 @@
|
|||||||
name: First CI
|
name: First CI
|
||||||
on: [push]
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -25,7 +29,7 @@ jobs:
|
|||||||
id: publish
|
id: publish
|
||||||
run: |
|
run: |
|
||||||
dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||||
echo "::set-output name=artifact-path::app"
|
echo "::set-output name=artifact-path::$(pwd)/app"
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
needs: build
|
needs: build
|
||||||
@ -35,4 +39,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ needs.build.outputs.id }}
|
name: ${{ needs.build.outputs.id }}
|
||||||
path: ${{ needs.build.outputs[format('{0}-output', matrix.rid)] }}
|
path: ${{ needs.build.outputs.artifact-path }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user