Skip to content

Commit

Permalink
ensure GITHUB_TOKEN is set explicitly for gh release upload (#2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Sep 21, 2023
1 parent fed603c commit 842b3c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
- name: Attach Profiler And Startup Hooks
continue-on-error: true #continue for now until we see it working in action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.ref_name }} "build/output/ElasticApmAgent_*.zip" "build/output/elastic_apm_profiler_*.zip"
Expand Down Expand Up @@ -101,6 +103,8 @@ jobs:
run: ./build.bat profiler-zip

- name: Attach Profiler
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true #continue for now until we see it working in action
run: |
gh release upload ${{ github.ref_name }} "build/output/elastic_apm_profiler_*.zip"
Expand Down

0 comments on commit 842b3c8

Please sign in to comment.