Skip to content

Commit 50fbfdd

Browse files
committed
Don't tag on release
1 parent 7843288 commit 50fbfdd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/solana-verified-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Solana Verified Build
33
on:
44
workflow_dispatch:
55
inputs:
6-
sha:
7-
description: 'SHA to build (can be short)'
6+
tag:
7+
description: 'Tag to build artifacts for'
88
required: true
99
type: string
1010
push:
@@ -43,7 +43,7 @@ jobs:
4343
- name: Get Long and Short SHAs
4444
id: get_sha
4545
run: |
46-
FULL_SHA=$(git rev-parse ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.sha || github.sha }})
46+
FULL_SHA=$(git rev-parse ${{ github.event_name == 'workflow_dispatch' && github.sha }})
4747
echo "short_sha=${FULL_SHA:0:12}" >> $GITHUB_OUTPUT
4848
echo "full_sha=$FULL_SHA" >> $GITHUB_OUTPUT
4949
- uses: actions/checkout@v4
@@ -73,7 +73,8 @@ jobs:
7373
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
7474
with:
7575
token: ${{ secrets.GITHUB_TOKEN }}
76-
tag_name: solana-artifacts-localtest-${{ steps.get_sha.outputs.short_sha }}
76+
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
7777
target_commitish: ${{ steps.get_sha.outputs.full_sha }}
78+
body_path: ${{ github.workspace }}/chains/solana/CHANGELOG.md
7879
files: |
7980
chains/solana/contracts/artifacts.tar.gz

0 commit comments

Comments
 (0)