Skip to content

Commit c58e934

Browse files
authored
debug script
1 parent eefa9f3 commit c58e934

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

.github/workflows/build-test-deploy.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
name: Deploy and publish
4848
runs-on: ubuntu-latest
4949
needs: build_test
50-
if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && !startsWith(github.event.head_commit.message, 'chore')"
50+
if: "github.event_name == 'push'"
5151
steps:
5252
- name: Setup Extensions
5353
uses: actions/checkout@v2
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install Semantic Release dependencies
6868
run: |
6969
pip3 install --user bump2version
70-
npm install -g semantic-release
70+
npm install -g semantic-release@19.0.5
7171
npm install -g @semantic-release/changelog
7272
npm install -g @semantic-release/exec
7373
npm install -g @semantic-release/git
@@ -85,21 +85,4 @@ jobs:
8585
env:
8686
GH_TOKEN: ${{ secrets.GH_TOKEN }}
8787
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88-
run: |
89-
echo "The next release is ${{ steps.next_release.outputs.NEXT_RELEASE }}"
90-
npx semantic-release
91-
92-
- name: Build project
93-
if: ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
94-
run: |
95-
pip install -U pip
96-
pip install build
97-
python -m build
98-
99-
- name: Publish to pypi
100-
if: ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
101-
uses: pypa/gh-action-pypi-publish@release/v1
102-
with:
103-
user: ${{ secrets.PYPI_USER }}
104-
password: ${{ secrets.PYPI_PASSWORD }}
105-
repository_url: https://upload.pypi.org/legacy/
88+
run: echo "The next release is ${{ steps.next_release.outputs.NEXT_RELEASE }}"

0 commit comments

Comments
 (0)