Skip to content

Commit

Permalink
Update build-release-assets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamemilio authored Feb 13, 2024
1 parent 3040817 commit 3128562
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3128562

Please sign in to comment.