Skip to content

Commit 589381a

Browse files
authored
feat(push-to-gcs): add gzip input (#1138)
* Add input to allow uploading files without gzip encoding * Add missing pipe * quote 'true'
1 parent 2343b41 commit 589381a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

actions/push-to-gcs/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ inputs:
4141
Delete the credentials file after the action is finished.
4242
If you want to keep the credentials file for a later step, set this to false.
4343
default: "true"
44+
gzip:
45+
description: |
46+
If true, then upload files with `content-encoding: gzip`
47+
default: "true"
4448

4549
outputs:
4650
uploaded:
@@ -103,6 +107,7 @@ runs:
103107
destination: ${{ steps.construct-path.outputs.destination }} # bucket name plus folder prefix (if applicable)
104108
parent: ${{ inputs.parent }}
105109
predefinedAcl: ${{ inputs.predefinedAcl }}
110+
gzip: ${{ inputs.gzip }}
106111
process_gcloudignore: false
107112

108113
- name: Cleanup checkout directory

0 commit comments

Comments
 (0)