Skip to content

Commit

Permalink
ci: lots of updates/upgrades for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed May 18, 2024
1 parent 30d582e commit 7f6a0ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '>=1.22.3'
cache: true
Expand All @@ -28,16 +28,16 @@ jobs:
go mod tidy
go test -v ./...
- name: Docker Login (ghcr.io)
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_MANGO_GORELEASER_DEPLOY_PAT }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_MANGO_GORELEASER_DEPLOY_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7f6a0ef

Please sign in to comment.