File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 7070
7171 - name : run tests
7272 run : make test-ci
73+
74+ release :
75+ name : release
76+ if : ${{ github.ref == 'refs/heads/main' }}
77+ needs :
78+ - tests
79+ runs-on : ubuntu-latest
80+ steps :
81+ - uses : actions/checkout@v3
82+
83+ - uses : google-github-actions/release-please-action@v3
84+ id : release
85+ with :
86+ release-type : simple
87+ package-name : YOUR_REPOSITORY_NAME
88+
89+ - name : tag new release
90+ if : ${{ steps.release.outputs.release_created }}
91+ run : |
92+ git config user.name github-actions[bot]
93+ git config user.email github-actions[bot]@users.noreply.github.com
94+ git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
95+ NEXT_TAG="${{ steps.release.outputs.version }}" make release
You can’t perform that action at this time.
0 commit comments