diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 3c822b7cf3..be17077246 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -95,14 +95,14 @@ jobs: tar -czf cabal.tar.gz * - name: Upload workspace - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: workspace-${{ matrix.ghc }}-${{ matrix.os }} retention-days: 1 path: workspace.tar.gz - name: Upload .cabal - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }} retention-days: 1 @@ -128,13 +128,13 @@ jobs: enable-stack: false - name: Download cabal home - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }} path: . - name: Download workspace - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: workspace-${{ matrix.ghc }}-${{ matrix.os }} path: . @@ -156,7 +156,7 @@ jobs: run: find bench-results -name "*.csv" -or -name "*.svg" -or -name "*.html" | xargs tar -czf benchmark-artifacts.tar.gz - name: Archive benchmarking artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bench-results-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }} path: benchmark-artifacts.tar.gz @@ -166,7 +166,7 @@ jobs: run: find bench-results -name "*.log" -or -name "*.hp" | xargs tar -czf benchmark-logs.tar.gz - name: Archive benchmark logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bench-logs-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }} path: benchmark-logs.tar.gz diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 45192e7b34..6fb38bc166 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -183,7 +183,7 @@ jobs: - if: always() name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error retention-days: 2 @@ -244,7 +244,7 @@ jobs: - if: always() name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error retention-days: 2 @@ -288,7 +288,7 @@ jobs: - if: always() name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error retention-days: 2 @@ -335,7 +335,7 @@ jobs: - if: always() name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error retention-days: 2 @@ -388,7 +388,7 @@ jobs: - if: always() name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error retention-days: 2 @@ -485,7 +485,7 @@ jobs: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifacts-${{ matrix.ARTIFACT }} path: ./ @@ -502,7 +502,7 @@ jobs: ARTIFACT: ${{ matrix.ARTIFACT }} - name: Upload bindist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: bindists-${{ matrix.ARTIFACT }} @@ -537,7 +537,7 @@ jobs: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifacts-arm path: ./ @@ -553,7 +553,7 @@ jobs: args: bash .github/scripts/bindist.sh - name: Upload bindist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: bindists-arm @@ -576,7 +576,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifacts-mac-x86_64 path: ./ @@ -591,7 +591,7 @@ jobs: bash .github/scripts/bindist.sh - name: Upload bindist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: bindists-mac-x86_64 @@ -614,7 +614,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifacts-mac-aarch64 path: ./ @@ -635,7 +635,7 @@ jobs: bash .github/scripts/bindist.sh - name: Upload bindist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: bindists-mac-aarch64 @@ -666,7 +666,7 @@ jobs: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifacts-win path: ./out @@ -679,7 +679,7 @@ jobs: shell: pwsh - name: Upload bindist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: bindists-win @@ -780,7 +780,7 @@ jobs: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: bindists-${{ matrix.ARTIFACT }} path: ./out @@ -816,7 +816,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: bindists-arm path: ./out