Skip to content

Commit e107c11

Browse files
CI: Fix test for zip
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 159893a commit e107c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ jobs:
237237
# TODO: add GITHUB_REF_NAME after https://github.com/actions/upload-artifact/issues/231 is fixed
238238
# name: blueos-${{ env.GITHUB_REF_NAME }}.zip
239239
- name: Zip image
240-
if: github.event_name == 'release' && github.event.action == 'created'
240+
if: startsWith(github.ref, 'refs/tags/')
241241
run: |
242242
sudo apt install zip
243243
zip BlueOS-raspberry.zip deploy/pimod/blueos.img

0 commit comments

Comments
 (0)