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

Workflow remove softprops #199

Merged
merged 2 commits into from
Feb 28, 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
32 changes: 15 additions & 17 deletions .github/workflows/build-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ jobs:
- name: Build and archive x86_64 distribution
run: make zip-x86_64
- name: Publish x86_64 release on GitHub
uses: softprops/action-gh-release@v1
with:
files: /tmp/newrelic-lambda-extension.x86_64.zip
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref_name }}
name: "Release ${{ github.ref_name }}"
draft: false
prerelease: false

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}
run: |
file=/tmp/newrelic-lambda-extension.x86_64.zip
echo "uploading $file to release $TAG"
gh release upload "$TAG" "$file"

build-release-arm:
runs-on: ubuntu-20.04
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -47,11 +46,10 @@ jobs:
- name: Build and archive arm distribution
run: make zip-arm64
- name: Publish zip-arm64 release on GitHub
uses: softprops/action-gh-release@v1
with:
files: /tmp/newrelic-lambda-extension.arm64.zip
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref_name }}
name: "Release ${{ github.ref_name }}"
draft: false
prerelease: false
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}
run: |
file=/tmp/newrelic-lambda-extension.arm64.zip
echo "uploading $file to release $TAG"
gh release upload "$TAG" "$file"
Loading