File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -16,43 +16,46 @@ jobs:
16
16
17
17
steps :
18
18
- name : Checkout
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v4
20
20
21
21
- name : Create test file
22
22
run : echo hello > world.txt
23
23
24
- - uses : actions/upload-artifact@v2
24
+ - uses : actions/upload-artifact@v4
25
25
with :
26
26
name : my-artifact
27
27
path : world.txt
28
28
29
- - uses : actions/upload-artifact@v2
29
+ - uses : actions/upload-artifact@v4
30
30
with :
31
31
name : my-artifact-2
32
32
path : world.txt
33
33
34
- - uses : actions/upload-artifact@v2
34
+ - uses : actions/upload-artifact@v4
35
35
with :
36
36
name : my-artifact-3
37
37
path : world.txt
38
38
39
- - uses : actions/upload-artifact@v2
39
+ - uses : actions/upload-artifact@v4
40
40
with :
41
41
name : you-artifact
42
42
path : world.txt
43
43
44
44
- name : Delete (specific, glob disabled)
45
- uses : geekyeggo/delete-artifact@v2
45
+ uses : geekyeggo/delete-artifact@v4
46
46
with :
47
47
name : my-artifact
48
48
useGlob : false
49
+ token : ${{ secrets.GITHUB_TOKEN }}
49
50
50
51
- name : Delete (pattern, glob enabled)
51
- uses : geekyeggo/delete-artifact@v2
52
+ uses : geekyeggo/delete-artifact@v4
52
53
with :
53
54
name : my-*
55
+ token : ${{ secrets.GITHUB_TOKEN }}
54
56
55
57
- name : Delete (specific, glob enabled)
56
- uses : geekyeggo/delete-artifact@v2
58
+ uses : geekyeggo/delete-artifact@v4
57
59
with :
58
60
name : you-artifact
61
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments