Skip to content

Commit

Permalink
Issue 6016 - Pin upload/download artifacts action to v3
Browse files Browse the repository at this point in the history
Bug Description:
After update of actions/download-artifact to v4, our PR CI started to fail.

Fix Description:
A workaround is to pin to the older version v3.

Fixes: #6016

Reviewed by: @progier389 (Thanks!)
  • Loading branch information
vashirov committed Dec 19, 2023
1 parent 1ab0a09 commit 1572636
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lmdbpytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ on:
required: false
default: false
debug_enabled:
description: 'Set to "true" to enable debugging with tmate (https://github.com/marketplace/actions/debugging-with-tmate)'
description: 'Set to "true" to enable debugging with tmate (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

permissions:
permissions:
actions: read
packages: read
contents: read
Expand Down Expand Up @@ -79,10 +79,10 @@ jobs:
sudo systemctl start docker
- name: Download RPMs
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: rpms

- name: Extract RPMs
run: tar xvf dist.tar

Expand All @@ -107,7 +107,7 @@ jobs:
- name: Sanitize filename
if: always()
run: echo "PYTEST_SUITE=$(echo ${{ matrix.suite }} | sed -e 's#\/#-#g')" >> $GITHUB_ENV

- name: Upload pytest test results
if: always()
uses: actions/upload-artifact@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ on:
required: false
default: false
debug_enabled:
description: 'Set to "true" to enable debugging with tmate (https://github.com/marketplace/actions/debugging-with-tmate)'
description: 'Set to "true" to enable debugging with tmate (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

permissions:
permissions:
actions: read
packages: read
contents: read
Expand Down Expand Up @@ -79,10 +79,10 @@ jobs:
sudo systemctl start docker
- name: Download RPMs
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: rpms

- name: Extract RPMs
run: tar xvf dist.tar

Expand All @@ -107,7 +107,7 @@ jobs:
- name: Sanitize filename
if: always()
run: echo "PYTEST_SUITE=$(echo ${{ matrix.suite }} | sed -e 's#\/#-#g')" >> $GITHUB_ENV

- name: Upload pytest test results
if: always()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 1572636

Please sign in to comment.