Skip to content

Commit 2e86ed1

Browse files
committed
Implement possibility to upload image from repo not named clover
1 parent ad14822 commit 2e86ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
docker run --privileged --rm -v /dev:/dev -v $(pwd):/builder/repo -e TRAVIS_TAG="${{ github.event.release.tag_name }}" sfalexrog/img-tool:qemu-update
2020
- name: Compress image
2121
run: |
22-
cd images && sudo chmod -R 777 . && zip -9 $(echo clover_*).zip clover_* && ls -l . && unzip -l clover_*.zip
22+
cd images && sudo chmod -R 777 . && zip -9 $(echo *_*).zip *_* && ls -l . && unzip -l *_*.zip
2323
- name: Upload image
2424
uses: softprops/action-gh-release@v1
2525
if: ${{ github.event_name == 'release' }}
2626
with:
27-
files: images/clover_*.zip
27+
files: images/*_*.zip
2828
prerelease: true
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)