v1.145.4 #661
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: | |
release: | |
types: | |
- released | |
jobs: | |
commit: | |
name: Publish Brew and Scoop | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- run: go run tools/publish/main.go "${GITHUB_REF_NAME#v}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
publish: | |
name: Publish NPM | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
registry-url: "https://registry.npmjs.org" | |
- run: npm dist-tag add "supabase@${GITHUB_REF_NAME#v}" latest | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
compose: | |
name: Publish self-hosted | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- run: go run tools/selfhost/main.go "cli/$GITHUB_REF_NAME" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
changelog: | |
name: Publish changelog | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- run: go run tools/changelog/main.go ${{ secrets.SLACK_CHANNEL }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} | |
docs: | |
name: Publish reference docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- run: go run docs/main.go "${GITHUB_REF_NAME#v}" | go run tools/bumpdoc/main.go apps/docs/spec/cli_v1_commands.yaml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} |