Skip to content

Test downloading artifacts #4

Test downloading artifacts

Test downloading artifacts #4

Workflow file for this run

name: "Test dawidd6's download-artifact action"
on:
workflow_dispatch:
jobs:
generate-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd "$GITHUB_WORKSPACE"
mkdir ./expired-d
touch ./expired-d/test-1.txt
touch ./expired-d/test-2.txt
- uses: actions/upload-artifact@v3
with:
name: E_TEST_01
path: |
expired-d/test-1.txt
- uses: actions/upload-artifact@v3
with:
name: E_TEST_02
path: |
expired-d/test-2.txt
download-artifacts:
needs: generate-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dawidd6/action-download-artifact@v2
with:
name: /E_TEST_/
path: expired-d
name_is_regexp: true
check_artifacts: true
search_artifacts: true