Skip to content

Commit

Permalink
Update deprecated actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Sep 9, 2024
1 parent 5345772 commit fbe0be4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/actions/benchmark/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
--ignore-files /lib/ ${{inputs.futhark-options}}
slurm-options: --time=0-02:00:00 ${{inputs.slurm-options}}

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: futhark-${{inputs.backend}}-${{inputs.system}}-${{ github.sha }}.json
path: futhark-${{inputs.backend}}-${{inputs.system}}-${{ github.sha }}.json
2 changes: 1 addition & 1 deletion .github/actions/futhark-slurm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build Futhark
run: nix-build --argstr suffix nightly-linux-x86_64 --argstr commit $GITHUB_SHA

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz
path: result/futhark-nightly-linux-x86_64.tar.xz
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
with:
key: ${{ secrets.SSHKEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- run: |
ls -R
- name: Prepare package
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build Futhark
run: nix-build --argstr suffix nightly-linux-x86_64 --argstr commit $GITHUB_SHA

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz
path: result/futhark-nightly-linux-x86_64.tar.xz
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
echo "${GITHUB_SHA}" > futhark-nightly-macos-x86_64/commit-id
tar -Jcf futhark-nightly-macos-x86_64.tar.xz futhark-nightly-macos-x86_64
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: futhark-nightly-macos-x86_64.tar.xz
path: futhark-nightly-macos-x86_64.tar.xz
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
files: futhark.exe
dest: futhark-nightly-windows-x86_64.zip

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: futhark-nightly-windows-x86_64.zip
path: futhark-nightly-windows-x86_64.zip
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -226,7 +226,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -249,7 +249,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y python3-jsonschema
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -274,7 +274,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y python3-jsonschema
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
- name: Install Nix
uses: cachix/install-nix-action@v27

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -330,7 +330,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y python3-numpy
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -353,7 +353,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y opencl-headers oclgrind nvidia-opencl-dev
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz
- name: Install from nightly tarball
Expand All @@ -373,7 +373,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y opencl-headers oclgrind
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz
- name: Install from nightly tarball
Expand Down Expand Up @@ -489,7 +489,7 @@ jobs:
with:
node-version: '16.x'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand Down Expand Up @@ -526,7 +526,7 @@ jobs:
with:
node-version: '16.x'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand Down Expand Up @@ -558,7 +558,7 @@ jobs:
with:
node-version: '16.x'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -579,7 +579,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand All @@ -604,7 +604,7 @@ jobs:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

Expand Down Expand Up @@ -633,7 +633,7 @@ jobs:
futhark doc -o prelude-docs /dev/null
tar -Jcf prelude-docs.tar.xz prelude-docs
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: prelude-docs.tar.xz
path: prelude-docs.tar.xz
Expand All @@ -650,19 +650,19 @@ jobs:
key: ${{ secrets.SSHKEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-windows-x86_64.zip

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-macos-x86_64.tar.xz

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: futhark-nightly-linux-x86_64.tar.xz

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: prelude-docs.tar.xz

Expand Down

0 comments on commit fbe0be4

Please sign in to comment.