File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
3
tags :
4
- - ' * '
4
+ - v[0-9]+.[0-9]+.[0-9]+
5
5
6
6
jobs :
7
7
goreleaser :
28
28
env :
29
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
30
HOMEBREW_TAP_GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
31
+
32
+ # Build and publish .zip archive for Cloud Function deploys.
33
+ - run : go mod vendor
34
+ - run : zip -r gcp-runbatch-${GITHUB_REF#refs/tags/}.zip LICENSE *.go startup.py vendor
35
+ - uses : google-github-actions/setup-gcloud@v0
36
+ with :
37
+ project_id : bitcomplete-oss-q2tc
38
+ service_account_key : ${{ secrets.GCP_PUBLIC_BUCKET_WRITER_SERVICE_ACCOUNT_KEY }}
39
+ export_default_credentials : true
40
+ - run : gsutil cp gcp-runbatch-${GITHUB_REF#refs/tags/}.zip gs://bitcomplete-oss-public/gcp-runbatch/function/
You can’t perform that action at this time.
0 commit comments