From 35d59a7b19af68e79e10dcbf415a5fe0c6a4ddf4 Mon Sep 17 00:00:00 2001 From: Jorge Esteban Quilcate Otoya Date: Thu, 28 Nov 2024 09:30:36 -0500 Subject: [PATCH] chore(ci): add filesystem module to release --- .github/workflows/create_release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 031598485..263cc8bcc 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -63,6 +63,11 @@ jobs: export azure_zip_file=$(ls ./storage/azure/build/distributions/ | grep zip) echo azure_tar_file=${azure_tar_file} >> $GITHUB_ENV echo azure_zip_file=${azure_zip_file} >> $GITHUB_ENV + # Filesystem libs + export fs_tar_file=$(ls ./storage/filesystem/build/distributions/ | grep tgz) + export fs_zip_file=$(ls ./storage/filesystem/build/distributions/ | grep zip) + echo fs_tar_file=${fs_tar_file} >> $GITHUB_ENV + echo fs_zip_file=${fs_zip_file} >> $GITHUB_ENV echo core_tar_path=`realpath ./core/build/distributions/${core_tar_file}` >> $GITHUB_ENV echo core_zip_path=`realpath ./core/build/distributions/${core_zip_file}` >> $GITHUB_ENV @@ -72,6 +77,8 @@ jobs: echo gcs_zip_path=`realpath ./storage/gcs/build/distributions/${gcs_zip_file}` >> $GITHUB_ENV echo azure_tar_path=`realpath ./storage/azure/build/distributions/${azure_tar_file}` >> $GITHUB_ENV echo azure_zip_path=`realpath ./storage/azure/build/distributions/${azure_zip_file}` >> $GITHUB_ENV + echo fs_tar_path=`realpath ./storage/filesystem/build/distributions/${fs_tar_file}` >> $GITHUB_ENV + echo fs_zip_path=`realpath ./storage/filesystem/build/distributions/${fs_zip_file}` >> $GITHUB_ENV - name: Create tag env: @@ -168,3 +175,21 @@ jobs: asset_path: ${{ env.azure_zip_path }} asset_name: ${{ env.azure_zip_file }} asset_content_type: application/zip + - name: Upload filesystem tar + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ${{ env.fs_tar_path }} + asset_name: ${{ env.fs_tar_file }} + asset_content_type: application/tar + - name: Upload filesystem zip + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ${{ env.fs_zip_path }} + asset_name: ${{ env.fs_zip_file }} + asset_content_type: application/zip