Skip to content

Commit

Permalink
[ workflows ] Bump up/download-artifact action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Jan 7, 2024
1 parent f515556 commit 561fdc2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
- name: Pack artefacts
run: |
${{ steps.vars.outputs.compress-cmd }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: ${{ steps.vars.outputs.filename }}
Expand All @@ -204,7 +204,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts
- env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
tar --use-compress-program zstd -cvf stack-work.tzst .stack-work stack.yaml stack.yaml.lock
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: agda-${{ runner.os }}-${{ github.sha }}
Expand All @@ -96,7 +96,7 @@ jobs:
enable-stack: true
ghc-version: ${{ env.GHC_VER }}
stack-version: ${{ env.STACK_VER }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: agda-${{ runner.os }}-${{ github.sha }}
- name: Unpack artifacts
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
enable-stack: true
ghc-version: ${{ env.GHC_VER }}
stack-version: ${{ env.STACK_VER }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: agda-${{ runner.os }}-${{ github.sha }}
- name: Unpack artifacts
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
enable-stack: true
ghc-version: ${{ env.GHC_VER }}
stack-version: ${{ env.STACK_VER }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: agda-${{ runner.os }}-${{ github.sha }}
- name: Unpack artifacts
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
enable-stack: true
ghc-version: ${{ env.GHC_VER }}
stack-version: ${{ env.STACK_VER }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: agda-${{ runner.os }}-${{ github.sha }}
- name: Unpack artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/user_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
export PATH=$HOME/texlive/bin/x86_64-linux:$PATH
make user-manual-pdf
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: user-manual-pdf
path: doc/user-manual.pdf
Expand Down
4 changes: 2 additions & 2 deletions src/github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ jobs:
run: |
${{ steps.vars.outputs.compress-cmd }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ${{ steps.vars.outputs.filename }}
name: ${{ steps.vars.outputs.filename }}
Expand All @@ -289,7 +289,7 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down
4 changes: 2 additions & 2 deletions src/github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
tar --use-compress-program zstd -cvf stack-work.tzst .stack-work stack.yaml stack.yaml.lock
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
- *haskell_setup

- &download_artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: agda-${{ runner.os }}-${{ github.sha }}

Expand Down
2 changes: 1 addition & 1 deletion src/github/workflows/user_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
export PATH=$HOME/texlive/bin/x86_64-linux:$PATH
make user-manual-pdf
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: user-manual-pdf
path: doc/user-manual.pdf

0 comments on commit 561fdc2

Please sign in to comment.