File tree Expand file tree Collapse file tree 3 files changed +61
-6
lines changed Expand file tree Collapse file tree 3 files changed +61
-6
lines changed Original file line number Diff line number Diff line change 11name : CI
2- # an example workflow that also monitors success of the preview api
32
43on :
54 push :
65 branches :
76 - master
87
9- schedule :
10- - cron : ' 0 */6 * * *'
11- # every 6 hours
12-
138defaults :
149 run :
1510 shell : bash
Original file line number Diff line number Diff line change 1+ name : Example
2+ # an example workflow that also monitors success of the preview api
3+
4+ on :
5+ schedule :
6+ - cron : ' 0 */6 * * *'
7+ # every 6 hours
8+
9+ defaults :
10+ run :
11+ shell : bash
12+
13+ jobs :
14+ test :
15+ runs-on : windows-latest
16+
17+ steps :
18+
19+ - name : Checkout
20+ uses : actions/checkout@v2
21+
22+ - name : Create test file
23+ run : echo hello > world.txt
24+
25+ - uses : actions/upload-artifact@v2
26+ with :
27+ name : my-artifact
28+ path : world.txt
29+
30+ - uses : actions/upload-artifact@v2
31+ with :
32+ name : my-artifact-2
33+ path : world.txt
34+
35+ - uses : actions/upload-artifact@v2
36+ with :
37+ name : my-artifact-3
38+ path : world.txt
39+
40+ - uses : actions/upload-artifact@v2
41+ with :
42+ name : you-artifact
43+ path : world.txt
44+
45+ - name : Delete (specific, glob disabled)
46+ uses : geekyeggo/delete-artifact@v2
47+ with :
48+ name : my-artifact
49+ useGlob : false
50+
51+ - name : Delete (pattern, glob enabled)
52+ uses : geekyeggo/delete-artifact@v2
53+ with :
54+ name : my-*
55+
56+ - name : Delete (specific, glob enabled)
57+ uses : geekyeggo/delete-artifact@v2
58+ with :
59+ name : you-artifact
Original file line number Diff line number Diff line change 1- ![ Example] ( https://github.com/GeekyEggo/delete-artifact/workflows/CI/badge.svg )
1+ ![ CI] ( https://github.com/GeekyEggo/delete-artifact/workflows/CI/badge.svg )
2+ ![ Example] ( https://github.com/GeekyEggo/delete-artifact/workflows/Example/badge.svg )
23
34# Delete artifacts
45
You can’t perform that action at this time.
0 commit comments