Skip to content

Commit

Permalink
Update CI GHA workflow to publish artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete committed Apr 10, 2021
1 parent bf4aa1c commit 6e2e978
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
job:
- os: ubuntu-18.04
build: ./build.sh
push: true
- os: windows-2019
build: ./build.cmd
- os: macos-10.15
Expand All @@ -50,3 +51,10 @@ jobs:
fetch-depth: 0
- name: Build
run: ${{ matrix.job.build }} --verbosity=diagnostic --target=pack
- name: Publish artifacts
if: matrix.job.push && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
uses: actions/upload-artifact@v2.2.3
with:
if-no-files-found: warn
name: package
path: artifact/nuget/**/*

0 comments on commit 6e2e978

Please sign in to comment.