File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Solana Verified Build
33on :
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 :
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
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
You can’t perform that action at this time.
0 commit comments