Skip to content

Commit

Permalink
ci: Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sbking committed Aug 26, 2024
1 parent 245f052 commit 31473f0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
release:
types: [ created ]

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
# - run: go install github.com/sqlc-dev/sqlc/cmd/sqlc@main
- uses: sqlc-dev/setup-sqlc@v4
with:
sqlc-version: '1.26.0'
- run: make
- run: gh release upload ${{github.event.release.tag_name}} bin/sqlc-gen-python.wasm --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 31473f0

Please sign in to comment.