Skip to content

Commit 0f51cf5

Browse files
committed
remove debug/test code
1 parent c66712d commit 0f51cf5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
- 'tests/**'
1616
- 'pyproject.toml'
1717
- '.github/workflows/python-package.yml'
18-
workflow_dispatch:
1918

2019
jobs:
2120
build-lint-unit-test:
@@ -39,7 +38,7 @@ jobs:
3938
release:
4039
runs-on: ubuntu-latest
4140
needs: [build-lint-unit-test]
42-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'))
41+
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main')
4342
environment:
4443
name: pypi
4544
url: https://pypi.org/p/nisystemlink-demo
@@ -63,7 +62,7 @@ jobs:
6362
pip install python-semantic-release==7.34.6
6463
git config --global user.name "github-actions"
6564
git config --global user.email "github-actions[bot]@users.noreply.github.com"
66-
semantic-release version --define=branch=${{ github.ref_name }}
65+
semantic-release version
6766
env:
6867
GH_TOKEN: ${{secrets.GH_REPO_TOKEN}}
6968
- name: Build package

0 commit comments

Comments
 (0)