Skip to content

Commit

Permalink
patch fix workflow:publish python package
Browse files Browse the repository at this point in the history
  • Loading branch information
visualDust committed Nov 27, 2023
1 parent 9d67633 commit 4cdcfe9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: Upload Python Package
on:
release:
types: [published]
workflow_dispatch:

permissions:
contents: read
Expand All @@ -23,8 +24,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: 'neetbox/frontend/yarn.lock'
cache: "yarn"
cache-dependency-path: "neetbox/frontend/yarn.lock"
- name: setup yarn
run: corepack enable
working-directory: neetbox/frontend
Expand All @@ -33,6 +34,6 @@ jobs:
- run: yarn build
working-directory: neetbox/frontend
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
uses: JRubics/poetry-publish@v1.17
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/maunal-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Manually Build Python Package
name: Manually Build and Publish to TEST.PyPi

on:
workflow_dispatch:
Expand Down

0 comments on commit 4cdcfe9

Please sign in to comment.