Skip to content

Commit

Permalink
Update release workflow: clarify trigger comment and remove unused cr…
Browse files Browse the repository at this point in the history
…eate release job
  • Loading branch information
mojocn authored Dec 30, 2024
1 parent de19e76 commit 083e99b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
release:
types: [published]
types: [published] # Trigger on release published by github web interface release page


jobs:
Expand Down Expand Up @@ -53,17 +53,4 @@ jobs:
asset_name: unchain-${{ matrix.goos }}-${{ matrix.goarch }}.${{ steps.archive.outputs.ARCHIVE_NAME}}
asset_content_type: application/octet-stream

release:
name: Create Release
needs: build
runs-on: ubuntu-latest
steps:
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

0 comments on commit 083e99b

Please sign in to comment.