Skip to content

Commit

Permalink
Bump artifact action to v4 (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz authored Dec 18, 2023
1 parent 102f39a commit f753dc9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/integration-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:

- name: Upload screenshots as artifacts
if : ${{ inputs.architecture == 'amd64' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Screenshots-CI-${{ inputs.architecture }}
path: screenshots/
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/load-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: composite
steps:
- name: Download built image 📥
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.image }}-${{ inputs.architecture }}
path: /tmp/aiidalab/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout Repo ⚡️
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create dev environment 📦
uses: ./.github/actions/create-dev-env
with:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
if: always()

- name: Upload image as artifact 💾
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.image }}-${{ inputs.architecture }}
path: /tmp/aiidalab/${{ inputs.image }}-${{ inputs.architecture }}.tar
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-merge-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:

steps:
- name: Checkout Repo ⚡️
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create dev environment 📦
uses: ./.github/actions/create-dev-env
with:
architecture: amd64

- name: Download amd64 tags file 📥
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.registry }}-${{ inputs.image }}-amd64-tags
path: /tmp/aiidalab
- name: Download arm64 tags file 📥
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.registry }}-${{ inputs.image }}-arm64-tags
path: /tmp/aiidalab
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
shell: bash

- name: Upload tags file 📤
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.registry }}-${{ inputs.image }}-${{ inputs.architecture }}-tags
path: /tmp/aiidalab/${{ inputs.image }}-${{ inputs.architecture }}-tags.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
--outdir dist/
- name: Upload distribution artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: release
path: dist/
Expand All @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
name: Download distribution artifact
with:
name: release
Expand Down

0 comments on commit f753dc9

Please sign in to comment.