diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bb6a88..dc687bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - {GOOS: freebsd, GOARCH: amd64} steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.x - name: Checkout repository @@ -62,9 +62,9 @@ jobs: GOARCH: ${{ matrix.GOARCH }} GOARM: ${{ matrix.GOARM }} - name: Upload workflow artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: age-binaries + name: age-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }} path: age-* upload: name: Upload release binaries @@ -75,9 +75,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Download workflow artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: - name: age-binaries + pattern: age-binaries-* + merge-multiple: true - name: Upload release artifacts run: gh release upload "$GITHUB_REF_NAME" age-* env: diff --git a/.github/workflows/ronn.yml b/.github/workflows/ronn.yml index 2900bb5..9d4d0ae 100644 --- a/.github/workflows/ronn.yml +++ b/.github/workflows/ronn.yml @@ -29,7 +29,7 @@ jobs: mv "$f.tmp" "$f" done - name: Upload generated files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: man-pages path: | @@ -45,7 +45,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Download generated files - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: man-pages path: doc/