Skip to content

Commit 8a03582

Browse files
authored
Merge pull request #628 from Aiven-Open/jeqo/prep-release
chore(ci): add filesystem module to release
2 parents 40b4034 + 35d59a7 commit 8a03582

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/create_release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ jobs:
6363
export azure_zip_file=$(ls ./storage/azure/build/distributions/ | grep zip)
6464
echo azure_tar_file=${azure_tar_file} >> $GITHUB_ENV
6565
echo azure_zip_file=${azure_zip_file} >> $GITHUB_ENV
66+
# Filesystem libs
67+
export fs_tar_file=$(ls ./storage/filesystem/build/distributions/ | grep tgz)
68+
export fs_zip_file=$(ls ./storage/filesystem/build/distributions/ | grep zip)
69+
echo fs_tar_file=${fs_tar_file} >> $GITHUB_ENV
70+
echo fs_zip_file=${fs_zip_file} >> $GITHUB_ENV
6671
6772
echo core_tar_path=`realpath ./core/build/distributions/${core_tar_file}` >> $GITHUB_ENV
6873
echo core_zip_path=`realpath ./core/build/distributions/${core_zip_file}` >> $GITHUB_ENV
@@ -72,6 +77,8 @@ jobs:
7277
echo gcs_zip_path=`realpath ./storage/gcs/build/distributions/${gcs_zip_file}` >> $GITHUB_ENV
7378
echo azure_tar_path=`realpath ./storage/azure/build/distributions/${azure_tar_file}` >> $GITHUB_ENV
7479
echo azure_zip_path=`realpath ./storage/azure/build/distributions/${azure_zip_file}` >> $GITHUB_ENV
80+
echo fs_tar_path=`realpath ./storage/filesystem/build/distributions/${fs_tar_file}` >> $GITHUB_ENV
81+
echo fs_zip_path=`realpath ./storage/filesystem/build/distributions/${fs_zip_file}` >> $GITHUB_ENV
7582
7683
- name: Create tag
7784
env:
@@ -168,3 +175,21 @@ jobs:
168175
asset_path: ${{ env.azure_zip_path }}
169176
asset_name: ${{ env.azure_zip_file }}
170177
asset_content_type: application/zip
178+
- name: Upload filesystem tar
179+
uses: actions/upload-release-asset@v1
180+
env:
181+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
182+
with:
183+
upload_url: ${{ steps.create_release.outputs.upload_url }}
184+
asset_path: ${{ env.fs_tar_path }}
185+
asset_name: ${{ env.fs_tar_file }}
186+
asset_content_type: application/tar
187+
- name: Upload filesystem zip
188+
uses: actions/upload-release-asset@v1
189+
env:
190+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191+
with:
192+
upload_url: ${{ steps.create_release.outputs.upload_url }}
193+
asset_path: ${{ env.fs_zip_path }}
194+
asset_name: ${{ env.fs_zip_file }}
195+
asset_content_type: application/zip

0 commit comments

Comments
 (0)