1 command testnet (standalone & IBC) (#18) #1
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" | |
on: | |
push: | |
tags: | |
- '**' | |
# Test Locally with: | |
# goreleaser build --skip-validate --config gorelease.yaml --snapshot | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.3.4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.21' | |
- name: Clean up dist directory | |
run: rm -rf dist | |
- name: Build | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
version: latest | |
args: build --skip-validate --config gorelease.yaml | |
- name: Release | |
uses: goreleaser/goreleaser-action@v5 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
version: latest | |
args: release --skip-validate --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |