diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d7236ea..6cc99c6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -67,7 +67,7 @@ jobs: go build -trimpath -ldflags "-s -w" -o "$OUT" ./... - name: Upload artifact ${{ matrix.goos }}/${{ matrix.goarch }}${{ matrix.goarm && format('-{0}', matrix.goarm) || '' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: compressor-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm && format('-{0}', matrix.goarm) || '' }} path: dist/compressor-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm && format('-{0}', matrix.goarm) || '' }}${{ matrix.ext }} @@ -82,7 +82,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - name: Download all build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: compressor-* merge-multiple: true @@ -122,7 +122,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - name: Download all build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: compressor-* merge-multiple: true