diff --git a/.github/workflows/build-release-assets.yml b/.github/workflows/build-release-assets.yml index de406bd..20cd143 100644 --- a/.github/workflows/build-release-assets.yml +++ b/.github/workflows/build-release-assets.yml @@ -25,6 +25,8 @@ jobs: run: make ${{ matrix.make_directive }} - name: upload artifact + env: + AUTH_TOKEN: ${{ secrets.RELEASE_ASSET_TOKEN }} run: | tag=$(git tag | sort -V | tail -1) if [ -f /tmp/newrelic-lambda-extension.x86_64.zip ];then @@ -33,7 +35,7 @@ jobs: file=/tmp/newrelic-lambda-extension.arm64.zip fi - gh auth login --with-token <<< ${{ secrets.RELEASE_ASSET_TOKEN }} + gh auth login --with-token <<< "$AUTH_TOKEN" gh release upload $tag $file