From 2e86ed199a8f9eeba2ccfd23b2373251400c944c Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Thu, 25 Apr 2024 10:50:02 +0300 Subject: [PATCH] Implement possibility to upload image from repo not named clover --- .github/workflows/build-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 34b7022d..f6c139da 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -19,12 +19,12 @@ jobs: docker run --privileged --rm -v /dev:/dev -v $(pwd):/builder/repo -e TRAVIS_TAG="${{ github.event.release.tag_name }}" sfalexrog/img-tool:qemu-update - name: Compress image run: | - cd images && sudo chmod -R 777 . && zip -9 $(echo clover_*).zip clover_* && ls -l . && unzip -l clover_*.zip + cd images && sudo chmod -R 777 . && zip -9 $(echo *_*).zip *_* && ls -l . && unzip -l *_*.zip - name: Upload image uses: softprops/action-gh-release@v1 if: ${{ github.event_name == 'release' }} with: - files: images/clover_*.zip + files: images/*_*.zip prerelease: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}