Skip to content

Commit

Permalink
CI: Fix test for zip
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Mar 25, 2022
1 parent 159893a commit e107c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ jobs:
# TODO: add GITHUB_REF_NAME after https://github.com/actions/upload-artifact/issues/231 is fixed
# name: blueos-${{ env.GITHUB_REF_NAME }}.zip
- name: Zip image
if: github.event_name == 'release' && github.event.action == 'created'
if: startsWith(github.ref, 'refs/tags/')
run: |
sudo apt install zip
zip BlueOS-raspberry.zip deploy/pimod/blueos.img
Expand Down

0 comments on commit e107c11

Please sign in to comment.