@@ -35,77 +35,77 @@ jobs:
35
35
id : login-to-gcs
36
36
37
37
# Upload a single file to the bucket root
38
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
38
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
39
39
with :
40
40
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
41
41
path : file.txt
42
42
environment : " dev" # Can be dev/prod (defaults to dev)
43
43
44
44
# Upload a single file and apply a predefined ACL. See `predefinedAcl` for options.
45
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
45
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
46
46
with :
47
47
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
48
48
path : file.txt
49
49
predefinedAcl : projectPrivate
50
50
environment : " dev"
51
51
52
52
# Here are 3 equivalent statements to upload a single file and its parent directory to the bucket root
53
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
53
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
54
54
with :
55
55
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
56
56
path : folder/file.txt
57
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
57
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
58
58
with :
59
59
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
60
60
path : .
61
61
glob : " folder/file.txt"
62
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
62
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
63
63
with :
64
64
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
65
65
path : folder
66
66
glob : " file.txt"
67
67
68
68
# Here are 2 equivalent statements to upload a single file WITHOUT its parent directory to the bucket root
69
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
69
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
70
70
with :
71
71
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
72
72
path : folder/file.txt
73
73
parent : false
74
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
74
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
75
75
with :
76
76
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
77
77
path : folder
78
78
glob : " file.txt"
79
79
parent : false
80
80
81
81
# Here are 2 equivalent statements to upload a directory with all subdirectories
82
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
82
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
83
83
with :
84
84
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
85
85
path : folder/
86
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
86
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
87
87
with :
88
88
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
89
89
path : .
90
90
glob : " folder/**/*"
91
91
92
92
# Specify a bucket prefix with `bucket_path`
93
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
93
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
94
94
name : upload-yaml-to-some-path
95
95
with :
96
96
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
97
97
path : file.txt
98
98
bucket_path : some-path/
99
99
100
100
# Upload all files of a type
101
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
101
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
102
102
with :
103
103
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
104
104
path : folder/
105
105
glob : " *.txt"
106
106
107
107
# upload all files of a type recursively
108
- -
uses :
grafana/shared-workflows/actions/[email protected] .0
108
+ -
uses :
grafana/shared-workflows/actions/[email protected] .1
109
109
with :
110
110
bucket : ${{ steps.login-to-gcs.outputs.bucket }}
111
111
path : folder/
0 commit comments