Skip to content

Commit

Permalink
Merge pull request #829 from product-os/kyle/github-publish-continue-…
Browse files Browse the repository at this point in the history
…on-error

Handle errors when there are no artifacts to publish
  • Loading branch information
flowzone-app[bot] authored Dec 14, 2023
2 parents 5be6fb0 + b136cbe commit 677c3c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/flowzone.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2897,12 +2897,15 @@ jobs:

- name: Download all artifacts
uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4.0.0
continue-on-error: true
id: download
with:
path: ${{ runner.temp }}

# https://github.com/softprops/action-gh-release
- name: Publish artifacts
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
if: steps.download.outcome == 'success'
with:
token: ${{ steps.gh_app_token.outputs.token || secrets.FLOWZONE_TOKEN }}
name: ${{ github.event.pull_request.head.ref }}
Expand Down

0 comments on commit 677c3c2

Please sign in to comment.