v2.1.0-testnet #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Release Binary | |
on: | |
release: | |
types: [created] | |
permissions: write-all | |
# This workflow creates a release using goreleaser | |
# via the 'make release' command. | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
environment: release | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
- name: Setup release environment | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: |- | |
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env | |
- name: Release publish | |
run: make release |