File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1515 - ' tests/**'
1616 - ' pyproject.toml'
1717 - ' .github/workflows/python-package.yml'
18+ workflow_dispatch :
1819
1920jobs :
2021 build-lint-unit-test :
3839 release :
3940 runs-on : ubuntu-latest
4041 needs : [build-lint-unit-test]
41- if : github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main')
42+ if : github.event_name == 'workflow_dispatch' || (github.event_name == ' push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') )
4243 environment :
4344 name : pypi
4445 url : https://pypi.org/p/nisystemlink-examples
6263 pip install python-semantic-release==7.34.6
6364 git config --global user.name "github-actions"
6465 git config --global user.email "github-actions[bot]@users.noreply.github.com"
65- semantic-release version
66+ semantic-release version --define=branch=${{ github.ref_name }}
6667 env :
6768 GH_TOKEN : ${{secrets.GH_REPO_TOKEN}}
6869 - name : Build package
You can’t perform that action at this time.
0 commit comments