add parameter to schema command to support eliminate PARGO_PREFIX_ fr… #26
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: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
release-build: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
cache-dependency-path: go.sum | |
- name: Installing Dependencies | |
run: make deps | |
- name: Build release | |
run: make release-build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release-artifacts | |
path: build | |
github-release: | |
runs-on: ubuntu-latest | |
needs: release-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: release-artifacts | |
path: build | |
- name: Push to github | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh release create $(cat ./build/VERSION) --notes-file ./build/CHANGELOG ./build/release/* | |
- name: Update coverage badge | |
uses: ncruces/go-coverage-report@main | |
with: | |
report: true | |
chart: true | |
amend: true |