add option 'rm' (#156)

This commit is contained in:
Lucy Linder
2020-06-06 20:22:05 +02:00
committed by GitHub
parent 65fae902fc
commit 6cf8de253a
4 changed files with 29 additions and 16 deletions

View File

@@ -18,21 +18,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "Build some tool and generate some artifacts" > artifact.txt
- run: echo "Build some tool and generate some (versioned) artifacts" > artifact-$(date -u +"%Y-%m-%dT%H-%M-%SZ").txt
- name: Single
uses: ./
with:
rm: true
token: ${{ secrets.GITHUB_TOKEN }}
files: artifact.txt
files: artifact-*.txt
- name: List
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
artifact.txt
artifact-*.txt
README.md
- run: |