Skip to content

Commit

Permalink
Upgrading release workflow: using modern attach action. (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail authored Nov 25, 2024
1 parent b99a310 commit d403aea
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,7 @@ jobs:
path: dist
- name: Rename to release.zip
run: cp dist/octorelay-*.zip release.zip
- name: Get release ID
id: get_release
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Attach the asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: release.zip
asset_name: release.zip
asset_content_type: application/zip
files: release.zip

0 comments on commit d403aea

Please sign in to comment.