diff options
author | Anna Prosvetova <anna@prosvetova.me> | 2022-04-14 20:05:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 20:05:45 +0300 |
commit | 935db361b8dd034a6255cd1264be210637ca0739 (patch) | |
tree | 88344f4ca5214636e364a7ff709b15b1fc1ad3be /.github | |
parent | e67cdbdff8570da2ea9c8c0c11cf84c998aba382 (diff) |
CI: clean up after archiving update bundle (#1116)
* CI: clean up after archiving update bundle
* CI: fix bundle path
* CI: trust me i know what i'm doing
Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e5f3c72..308aa942 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,14 +102,17 @@ jobs: - name: 'Bundle self-update package' if: ${{ !github.event.pull_request.head.repo.fork }} - run: | - set -e - for UPDATEBUNDLE in artifacts/*/ - do - BUNDLE_NAME=`echo $UPDATEBUNDLE | cut -d'/' -f2` - echo Packaging ${BUNDLE_NAME} - tar czpf artifacts/flipper-z-${BUNDLE_NAME}.tgz -C artifacts ${BUNDLE_NAME} - done + uses: ./.github/actions/docker + with: + run: | + set -e + for UPDATEBUNDLE in artifacts/*/ + do + BUNDLE_NAME=`echo $UPDATEBUNDLE | cut -d'/' -f2` + echo Packaging ${BUNDLE_NAME} + tar czpf artifacts/flipper-z-${BUNDLE_NAME}.tgz -C artifacts ${BUNDLE_NAME} + rm -rf artifacts/${BUNDLE_NAME} + done - name: 'Bundle resources' if: ${{ !github.event.pull_request.head.repo.fork }} |