Skip to content

Commit

Permalink
Merge pull request haskell#3913 from haskell/mpj/upload-download
Browse files Browse the repository at this point in the history
Bump both upload and download artifact
  • Loading branch information
fendor authored Dec 18, 2023
2 parents 2b49d9d + 35b0cfd commit 74466a9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: .
Expand All @@ -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
Expand All @@ -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
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: ./
Expand All @@ -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 }}
Expand Down Expand Up @@ -537,7 +537,7 @@ jobs:

- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifacts-arm
path: ./
Expand All @@ -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
Expand All @@ -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: ./
Expand All @@ -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
Expand All @@ -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: ./
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 74466a9

Please sign in to comment.