From f4eedfb1753d21a56a11bb6ef52d0bf7cc18cd83 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 20 Sep 2023 17:29:03 +0200 Subject: [PATCH] ensure GITHUB_TOKEN is set explicitly for gh release upload --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e82b3cee..774558a2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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" @@ -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"