File tree 3 files changed +61
-6
lines changed
3 files changed +61
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
- # an example workflow that also monitors success of the preview api
3
2
4
3
on :
5
4
push :
6
5
branches :
7
6
- master
8
7
9
- schedule :
10
- - cron : ' 0 */6 * * *'
11
- # every 6 hours
12
-
13
8
defaults :
14
9
run :
15
10
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 )
2
3
3
4
# Delete artifacts
4
5
You can’t perform that action at this time.
0 commit comments