-
-
Notifications
You must be signed in to change notification settings - Fork 52
59 lines (46 loc) · 1.2 KB
/
example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Example
# an example workflow that also monitors success of the preview api
on:
schedule:
- cron: '0 */6 * * *'
# every 6 hours
defaults:
run:
shell: bash
jobs:
test:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create test file
run: echo hello > world.txt
- uses: actions/upload-artifact@v2
with:
name: my-artifact
path: world.txt
- uses: actions/upload-artifact@v2
with:
name: my-artifact-2
path: world.txt
- uses: actions/upload-artifact@v2
with:
name: my-artifact-3
path: world.txt
- uses: actions/upload-artifact@v2
with:
name: you-artifact
path: world.txt
- name: Delete (specific, glob disabled)
uses: geekyeggo/delete-artifact@v2
with:
name: my-artifact
useGlob: false
- name: Delete (pattern, glob enabled)
uses: geekyeggo/delete-artifact@v2
with:
name: my-*
- name: Delete (specific, glob enabled)
uses: geekyeggo/delete-artifact@v2
with:
name: you-artifact