diff --git a/.github/workflows/jh-build.yml b/.github/workflows/jh-build.yml index 465a0f6..9a33581 100644 --- a/.github/workflows/jh-build.yml +++ b/.github/workflows/jh-build.yml @@ -1,4 +1,4 @@ -name: JH build +2 21name: JH build on: release: @@ -7,7 +7,6 @@ on: branches: ["main-jethub"] workflow_dispatch: - env: GOLANG_VERSION: "1.20" @@ -28,18 +27,18 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - name: Setup go ${{ env.GOLANG_VERSION }} - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GOLANG_VERSION }} - name: Run GoReleaser build - uses: goreleaser/goreleaser-action@v4.4.0 + uses: goreleaser/goreleaser-action@v6.0.0 if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' with: args: build --snapshot --clean - name: Run GoReleaser release - uses: goreleaser/goreleaser-action@v4.4.0 + uses: goreleaser/goreleaser-action@v6.0.0 if: github.event_name == 'release' with: args: release --clean @@ -47,7 +46,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} - - uses: robinraju/release-downloader@v1.8 + - uses: robinraju/release-downloader@v1.11 with: repository: ${{ github.repository }} latest: true @@ -73,7 +72,7 @@ jobs: branch: test - name: Upload packets - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: debs path: debs