From 935db361b8dd034a6255cd1264be210637ca0739 Mon Sep 17 00:00:00 2001 From: Anna Prosvetova Date: Thu, 14 Apr 2022 20:05:45 +0300 Subject: [PATCH] CI: clean up after archiving update bundle (#1116) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * CI: clean up after archiving update bundle * CI: fix bundle path * CI: trust me i know what i'm doing Co-authored-by: あく --- .github/workflows/build.yml | 19 +++++++++++-------- 1 file 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 }}