File tree Expand file tree Collapse file tree 1 file changed +25
-25
lines changed
Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Original file line number Diff line number Diff line change 1717# # the Cloud bucket. It does NOT release to Node, but it provides
1818# # handy version incrementing which is useful for us.
1919
20+ name : Minimal Release Please
21+
2022on :
2123 push :
22- branches : [main]
24+ branches :
25+ - main
26+
27+ jobs :
28+ release-please :
29+ runs-on : ubuntu-latest
30+ steps :
31+ - id : release
32+ name : Release Please
33+ uses : actions/checkout@v3
34+ - uses : google-github-actions/release-please-action@v3
35+ with :
36+ release-type : node
37+ token : ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
38+ package-name : " @googlemaps-samples/js-api-samples"
2339
24- permissions :
25- contents : write
26- pull-requests : write
40+ - if : ${{ steps.release.outputs.release_created }}
41+ name : Checkout
42+ uses : actions/checkout@v3
2743
28- name : Release Please
44+ # Debugging steps to return the contents of root and current branch name.
45+ - if : ${{ steps.release.outputs.release_created }}
46+ uses : actions/checkout@v3
47+ - run : ls -l
48+ - run : echo "Current Branch - ${{ github.ref }}"
2949
30- jobs :
31- release-please :
32- runs-on : ubuntu-latest
33- steps :
34- - id : release
35- name : Release Please
36- uses : google-github-actions/release-please-action@v3
37- with :
38- release-type : node
39- token : ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
40- package-name : " @googlemaps-samples/js-api-samples"
41- bump-minor-pre-major : true
42-
43- # Upload /dist to the Cloud bucket.
44- - if : ${{ steps.release.outputs.release_created }}
45- name : Upload to Cloud Bucket
46- run : |
47- bash ./upload-to-bucket.sh
48- env :
49- GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_CLOUD_CREDENTIALS }}
You can’t perform that action at this time.
0 commit comments