upd zad5
This commit is contained in:
parent
c8bc122954
commit
b85d646526
@ -1,5 +1,9 @@
|
||||
name: First CI
|
||||
on: [push]
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -25,7 +29,7 @@ jobs:
|
||||
id: publish
|
||||
run: |
|
||||
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:
|
||||
needs: build
|
||||
@ -35,4 +39,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
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