Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No QA]Add github token to each gh release upload #47266

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
- name: Upload Android sourcemaps to GitHub Release
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: gh release upload ${{ github.event.release.tag_name }} android/app/build/generated/sourcemaps/react/productionRelease/index.android.bundle.map#android-sourcemap-${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload Android build to GitHub Release
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
Expand Down Expand Up @@ -154,6 +156,8 @@ jobs:

- name: Upload desktop sourcemaps to GitHub Release
run: gh release upload ${{ github.event.release.tag_name }} desktop/dist/www/merged-source-map.js.map#desktop-sourcemap-${{ github.event.release.tag_name }} --clobber
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload desktop build to GitHub Release
run: gh release upload ${{ github.event.release.tag_name }} desktop-build/NewExpensify.dmg --clobber
Expand Down Expand Up @@ -244,6 +248,8 @@ jobs:
- name: Upload iOS sourcemaps to GitHub Release
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: gh release upload ${{ github.event.release.tag_name }} main.jsbundle.map#ios-sourcemap-${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload iOS build to GitHub Release
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
Expand Down Expand Up @@ -341,6 +347,8 @@ jobs:

- name: Upload web sourcemaps to GitHub Release
run: gh release upload ${{ github.event.release.tag_name }} dist/merged-source-map.js.map#web-sourcemap-${{ github.event.release.tag_name }} --clobber
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload web build to GitHub Release
run: |
Expand Down
Loading