Skip to content

Commit

Permalink
Standardize and fix workflow artifacts, correctly upload to release
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Oct 3, 2024
1 parent bcb43d5 commit 0e59102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buildIOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,5 @@ jobs:
- name: Upload iOS sourcemaps
uses: actions/upload-artifact@v4
with:
name: ios-sourcemaps-artifact
name: ios-artifact-sourcemaps
path: ./main.jsbundle.map
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ jobs:
createPrerelease:
runs-on: ubuntu-latest
if: ${{ always() && github.ref == 'refs/heads/staging' && fromJSON(needs.checkDeploymentSuccess.outputs.IS_AT_LEAST_ONE_PLATFORM_DEPLOYED) }}
needs: [prep, checkDeploymentSuccess]
needs: [prep, checkDeploymentSuccess, buildAndroid, buildIOS]
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
Expand All @@ -491,12 +491,12 @@ jobs:
continue-on-error: true
run: |
gh release upload ${{ needs.prep.outputs.APP_VERSION }} --repo ${{ github.repository }} --clobber \
./android-sourcemaps-artifact/index.android.bundle.map#android-sourcemap-${{ needs.prep.outputs.APP_VERSION }} \
./android-build-artifact/app-production-release.aab \
./android-artifact-sourcemaps/index.android.bundle.map#android-sourcemap-${{ needs.prep.outputs.APP_VERSION }} \
./android-artifact-aab/${{ needs.buildAndroid.outputs.AAB_FILE_NAME }} \
./desktop-staging-sourcemaps-artifact/desktop-staging-merged-source-map.js.map#desktop-staging-sourcemap-${{ needs.prep.outputs.APP_VERSION }} \
./desktop-staging-build-artifact/NewExpensify.dmg#NewExpensifyStaging.dmg \
./ios-sourcemaps-artifact/main.jsbundle.map#ios-sourcemap-${{ needs.prep.outputs.APP_VERSION }} \
./ios-build-artifact/NewExpensify.ipa \
./ios-artifact-sourcemaps/main.jsbundle.map#ios-sourcemap-${{ needs.prep.outputs.APP_VERSION }} \
./ios-artifact-ipa/${{ needs.buildIOS.outputs.IPA_FILE_NAME }} \
./web-staging-sourcemaps-artifact/web-staging-merged-source-map.js.map#web-staging-sourcemap-${{ needs.prep.outputs.APP_VERSION }} \
./web-staging-build-tar-gz-artifact/webBuild.tar.gz#stagingWebBuild.tar.gz \
./web-staging-build-zip-artifact/webBuild.zip#stagingWebBuild.zip
Expand Down

0 comments on commit 0e59102

Please sign in to comment.