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

Chore: update release action #3739

Merged
merged 3 commits into from
May 24, 2024
Merged
Changes from 1 commit
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
22 changes: 9 additions & 13 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,17 @@ jobs:

# Update the GitHub release with a checksummed archive
- name: Upload archive
uses: actions/upload-release-asset@v1
- uses: Shopify/upload-to-release@v1
katspaugh marked this conversation as resolved.
Show resolved Hide resolved
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ env.ARCHIVE_NAME }}.tar.gz
asset_name: ${{ env.ARCHIVE_NAME }}.tar.gz
asset_content_type: application/gzip
env:
GITHUB_TOKEN: ${{ github.token }}
path: ${{ env.ARCHIVE_NAME }}.tar.gz
name: ${{ env.ARCHIVE_NAME }}.tar.gz
content-type: application/gzip
repo-token: ${{ github.token }}

- name: Upload checksum
uses: actions/upload-release-asset@v1
katspaugh marked this conversation as resolved.
Show resolved Hide resolved
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
asset_name: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
asset_content_type: text/plain
env:
GITHUB_TOKEN: ${{ github.token }}
path: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
name: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
content-type: text/plain
repo-token: ${{ github.token }}
Loading