Skip to content

Commit

Permalink
feat: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nourspace committed Jan 31, 2025
1 parent e32d0f2 commit 5ccfb71
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: release binary

on:
release:
types: [ published ]

env:
GO_VERSION: 1.19

jobs:
release-static-binary:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout interchaintest
uses: actions/checkout@v4

- name: Setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- run: go mod tidy && make build-static

- run: chmod +x ./build/bech32-amd64 ./build/bech32-arm64

- name: Release
uses: softprops/action-gh-release@v2
with:
token: ${{ github.token }}
files: |
./build/bech32-amd64
./build/bech32-arm64

0 comments on commit 5ccfb71

Please sign in to comment.