adding config value for files #35
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: "Release" | |
| on: | |
| push: | |
| tags: | |
| - '**' | |
| # Test Locally with: | |
| # goreleaser build --skip-validate --snapshot --clean | |
| jobs: | |
| goreleaser: | |
| name: "Binary Release" | |
| permissions: write-all | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v2 | |
| with: | |
| go-version: '1.23.7' | |
| - name: Clean up files for build | |
| run: | | |
| rm -rf dist | |
| rm -rf .claude | |
| rm -rf examples/ | |
| rm -f README.md | |
| - name: Build | |
| uses: goreleaser/goreleaser-action@v5 | |
| with: | |
| version: latest | |
| args: build --skip-validate | |
| - name: Release | |
| uses: goreleaser/goreleaser-action@v5 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| version: latest | |
| args: release --skip-validate --clean | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |