fix: correctly match dist files in the build workflow and fetch 0 to retrieve tag information so that goreleaser can see tags #8
Workflow file for this run
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| GOTOOLCHAIN: local | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up tools | |
| uses: jdx/mise-action@v3 | |
| with: | |
| version: 2026.3.8 # renovate: datasource=github-releases depName=jdx/mise | |
| - name: Run GoReleaser | |
| run: goreleaser release --clean --snapshot | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Preview Binaries | |
| path: dist/qcloud_*/qcloud* | |