goreleaser.yml 611 B

123456789101112131415161718192021222324252627282930
  1. name: goreleaser
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. goreleaser:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - name: Checkout
  9. uses: actions/checkout@v4
  10. with:
  11. fetch-depth: 0
  12. - name: Set up Go
  13. uses: actions/setup-go@v5
  14. with:
  15. go-version: '1.23'
  16. - name: Make All
  17. run: |
  18. ./package.sh
  19. - name: Run GoReleaser
  20. uses: goreleaser/goreleaser-action@v5
  21. with:
  22. version: latest
  23. args: release --clean --release-notes=./Release.md
  24. env:
  25. GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}