From 51947483f471bde1e333501479d4334c054fc7ce Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Thu, 23 May 2024 12:07:58 -0700 Subject: [PATCH] Zip the whl file before uploading for BCK step. --- .github/workflows/release_kolibri.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_kolibri.yml b/.github/workflows/release_kolibri.yml index 911bd15f636..2dc5d10e463 100644 --- a/.github/workflows/release_kolibri.yml +++ b/.github/workflows/release_kolibri.yml @@ -196,6 +196,8 @@ jobs: with: name: ${{ needs.whl.outputs.whl-file-name }} path: dist + - name: Zip whl file + run: zip -j dist/kolibri.zip dist/${{ needs.whl.outputs.whl-file-name }} - uses: 'google-github-actions/auth@v2' with: credentials_json: '${{ secrets.GH_UPLOADER_GCP_SA_CREDENTIALS }}' @@ -204,8 +206,9 @@ jobs: - name: Upload to BCK bucket uses: 'google-github-actions/upload-cloud-storage@v2' with: - path: 'dist/${{ needs.whl.outputs.whl-file-name }}' + path: 'dist/kolibri.zip' destination: '${{ secrets.BCK_PROD_BUILD_ARTIFACT_GCS_BUCKET }}' + parent: false android_release: name: Release Android App if: ${{ !github.event.release.prerelease }}