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