diff --git a/.github/workflows/PRBuild.yml b/.github/workflows/PRBuild.yml index 475491e..cc8af89 100644 --- a/.github/workflows/PRBuild.yml +++ b/.github/workflows/PRBuild.yml @@ -37,10 +37,10 @@ jobs: echo "BUILD_USER=$(whoami)" >> $GITHUB_ENV - name: Build with goreleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 env: GITHUB_TOKEN: ${{ github.token }} with: - version: latest + version: '~> v2' args: build --clean --snapshot id: goreleaser \ No newline at end of file diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index c342c0d..21751c4 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -38,11 +38,11 @@ jobs: echo "BUILD_USER=$(whoami)" >> $GITHUB_ENV - name: Release with goreleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 env: GITHUB_TOKEN: ${{ github.token }} with: - version: latest + version: '~> v2' args: release --clean id: goreleaser