From 7912bcedf7dba5a3807b36228395ace5955417a1 Mon Sep 17 00:00:00 2001 From: Viacheslav Bocharov Date: Tue, 5 Sep 2023 15:04:24 +0300 Subject: [PATCH] Update workflow --- .github/workflows/jh-build.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/jh-build.yml b/.github/workflows/jh-build.yml index 7f4a9e0..465a0f6 100644 --- a/.github/workflows/jh-build.yml +++ b/.github/workflows/jh-build.yml @@ -9,7 +9,7 @@ on: env: - GOLANG_VERSION: "1.16" + GOLANG_VERSION: "1.20" jobs: build: @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@v3.5.0 + uses: actions/checkout@v4 with: fetch-depth: 0 # Needed for changelog generation @@ -33,20 +33,21 @@ jobs: go-version: ${{ env.GOLANG_VERSION }} - name: Run GoReleaser build - uses: goreleaser/goreleaser-action@v4.2.0 + uses: goreleaser/goreleaser-action@v4.4.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.2.0 + uses: goreleaser/goreleaser-action@v4.4.0 if: github.event_name == 'release' with: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} - - uses: robinraju/release-downloader@v1.7 + + - uses: robinraju/release-downloader@v1.8 with: repository: ${{ github.repository }} latest: true @@ -66,13 +67,13 @@ jobs: with: SSH_KEY: ${{ secrets.SSH_KEY }} SSH_KNOWNHOSTS_UPLOAD: ${{ secrets.SSH_KNOWNHOSTS_UPLOAD }} - distro: bullseye + distro: bookworm path: debs files: ${{ steps.listfiles.outputs.files }} branch: test - name: Upload packets - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: debs path: debs