Skip to content

Commit

Permalink
Merge pull request #12050 from rtibbles/release_upload
Browse files Browse the repository at this point in the history
Release upload fixes
  • Loading branch information
marcellamaki authored Apr 4, 2024
2 parents fc83f79 + 80d07cc commit ac7ed7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr_build_kolibri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
dmg:
name: Build DMG file
needs: whl
uses: learningequality/kolibri-app/.github/workflows/build_mac.yml@main
uses: learningequality/kolibri-app/.github/workflows/build_mac.yml@v0.4.0
with:
whl-file-name: ${{ needs.whl.outputs.whl-file-name }}
ref: main
ref: v0.4.0
deb:
name: Build DEB file
needs: whl
Expand All @@ -48,10 +48,10 @@ jobs:
exe:
name: Build EXE file
needs: whl
uses: learningequality/kolibri-installer-windows/.github/workflows/[email protected].0
uses: learningequality/kolibri-installer-windows/.github/workflows/[email protected].1
with:
whl-file-name: ${{ needs.whl.outputs.whl-file-name }}
ref: v1.6.0
ref: v1.6.1
apk:
name: Build APK file
needs: whl
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release_kolibri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ jobs:
exe:
name: Build EXE file
needs: whl
uses: learningequality/kolibri-installer-windows/.github/workflows/[email protected].0
uses: learningequality/kolibri-installer-windows/.github/workflows/[email protected].1
with:
whl-file-name: ${{ needs.whl.outputs.whl-file-name }}
release: true
ref: v1.6.0
ref: v1.6.1
secrets:
KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE: ${{ secrets.KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE }}
KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE_PASSWORD: ${{ secrets.KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE_PASSWORD }}
Expand All @@ -86,10 +86,10 @@ jobs:
zip:
name: Build Raspberry Pi Image
needs: deb
uses: learningequality/pi-gen/.github/workflows/[email protected].0
uses: learningequality/pi-gen/.github/workflows/[email protected].1
with:
deb-file-name: ${{ needs.deb.outputs.deb-file-name }}
ref: v0.16.0
ref: v0.16.1
upload_zip:
uses: ./.github/workflows/upload_github_release_asset.yml
needs: zip
Expand Down Expand Up @@ -184,13 +184,13 @@ jobs:
- name: Upload files to Google Cloud Storage
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: 'dist/${{ matrix.filename }}'
path: 'dist/${{ matrix.filename }}/${{ matrix.filename }}'
destination: '${{ secrets.KOLIBRI_PUBLIC_RELEASE_GCS_BUCKET }}/downloads/kolibri/${{ github.event.release.name }}/${{ matrix.filename }}'
- name: Upload to BCK bucket
if: ${{ github.event.release.name == 'latest' }} && ${{ endsWith(matrix.filename, '.whl') }}
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: 'dist/${{ matrix.filename }}'
path: 'dist/${{ matrix.filename }}/${{ matrix.filename }}'
destination: '${{ secrets.BCK_PROD_BUILD_ARTIFACT_GCS_BUCKET }}/${{ matrix.filename }}'
android_release:
name: Release Android App
Expand Down

0 comments on commit ac7ed7c

Please sign in to comment.