Skip to content

refactor(monorepo): move workflow to correct location (#253) #104

refactor(monorepo): move workflow to correct location (#253)

refactor(monorepo): move workflow to correct location (#253) #104

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 33, Col: 9): Unexpected value 'working-directory'
on:
release:
types: [created]
env:
GORELEASER_VERSION: '~> v2'
GO_VERSION: 1.24.0
permissions:
contents: write
jobs:
goreleaser:
name: Release World CLI binary
runs-on: namespace-profile-linux-4vcpu-8gb-cached
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@v6
with:
distribution: goreleaser
version: ${{ env.GORELEASER_VERSION }}
args: release --clean
working-directory: internal/app/world-cli
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}