You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
544 B

  1. name: goreleaser
  2. on:
  3. push:
  4. tags:
  5. - '*'
  6. jobs:
  7. goreleaser:
  8. runs-on: ubuntu-latest
  9. steps:
  10. -
  11. name: Checkout
  12. uses: actions/checkout@v2
  13. with:
  14. fetch-depth: 0
  15. -
  16. name: Set up Go
  17. uses: actions/setup-go@v2
  18. with:
  19. go-version: 1.16
  20. -
  21. name: Run GoReleaser
  22. uses: goreleaser/goreleaser-action@v2
  23. with:
  24. version: latest
  25. args: release --rm-dist
  26. env:
  27. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}