test-recent-extensions action: update actions version

pull/976/head
Michele Locati 2024-09-08 11:14:19 +02:00
parent 34b3f1d131
commit 4e8a3a3ff2
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 5 additions and 3 deletions

View File

@ -27,10 +27,12 @@ jobs:
fi fi
printf "$EXTENSIONS_TO_TEST" > extensions-to-test.txt printf "$EXTENSIONS_TO_TEST" > extensions-to-test.txt
- name: Persist list of extensions to be tested - name: Persist list of extensions to be tested
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: artifact name: artifact
path: extensions-to-test.txt path: extensions-to-test.txt
if-no-files-found: error
retention-days: 1
test_extensions: test_extensions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: determine_extension_list needs: determine_extension_list
@ -62,12 +64,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Loading list of extensions to be tested - name: Loading list of extensions to be tested
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: artifact name: artifact
- name: Test extensions - name: Test extensions
run: | run: |
EXTENSIONS_TO_TEST="$(cat artifact/extensions-to-test.txt)" EXTENSIONS_TO_TEST="$(cat extensions-to-test.txt)"
if test -z "$EXTENSIONS_TO_TEST"; then if test -z "$EXTENSIONS_TO_TEST"; then
echo 'No extensions to be tested' echo 'No extensions to be tested'
else else