set glob recursive=True

This commit is contained in:
eine
2020-10-10 17:31:04 +02:00
parent 4faf2667a2
commit 642b99b75d
2 changed files with 17 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "Build some tool and generate some (versioned) artifacts" > artifact-$(date -u +"%Y-%m-%dT%H-%M-%SZ").txt
- name: Single
@@ -36,7 +36,8 @@ jobs:
artifact-*.txt
README.md
- run: |
- name: Add artifacts/artifact.txt
run: |
mkdir artifacts
echo "Build some tool and generate some artifacts" > artifacts/artifact.txt
@@ -46,7 +47,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
files: artifacts/artifact.txt
- run: |
- name: Add artifacts/*.md
run: |
echo "tip hello" > artifacts/hello.md
echo "tip world" > artifacts/world.md
@@ -55,3 +57,14 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: artifacts/*
- name: Add artifacts/subdir
run: |
mkdir artifacts/subdir
echo "Test recursive glob" > artifacts/subdir/deep_file.txt
- name: Directory wildcard (recursive)
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: artifacts/**