File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,18 @@ Here's an example usage of `buf-push-action`:
1414on : push # Apply to all push
1515jobs :
1616 push-module :
17- # Run `git checkout`
18- - uses : actions/checkout@v2
19- # Install the `buf` CLI
20- - uses : bufbuild/buf-setup-action@v1
21- # Push module to the BSR
22- - uses : bufbuild/buf-push-action@v1
23- with :
24- buf_token : ${{ secrets.BUF_TOKEN }}
25- create_visibility : private
26- draft : ${{ github.ref_name != 'main'}}
17+ runs-on : ubuntu-latest
18+ steps :
19+ # Run `git checkout`
20+ - uses : actions/checkout@v2
21+ # Install the `buf` CLI
22+ - uses : bufbuild/buf-setup-action@v1
23+ # Push module to the BSR
24+ - uses : bufbuild/buf-push-action@v1
25+ with :
26+ buf_token : ${{ secrets.BUF_TOKEN }}
27+ create_visibility : private
28+ draft : ${{ github.ref_name != 'main'}}
2729` ` `
2830
2931With this configuration, upon a push [branches, tags][github-workflow]
You can’t perform that action at this time.
0 commit comments