Skip to content

v1.3.0

v1.3.0 #51

Workflow file for this run

name: Release
on:
release:
types: [created]
env:
GORELEASER_VERSION: v1.24.0
GO_VERSION: 1.21.1
permissions:
contents: write
jobs:
go-test:
name: Test
uses: ./.github/workflows/test.yml
goreleaser:
name: Release World CLI binary
runs-on: ubuntu-latest
#needs: go-test # TODO: uncomment this once Docker Compose version issue is fixed
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run World CLI goreleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: ${{ env.GORELEASER_VERSION }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}