This commit is contained in:
parent
e69dd80875
commit
47c542a25b
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/publish.yml
Normal file
21
.forgejo/workflows/publish.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
on: push
|
||||
jobs:
|
||||
test-publish:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:alpine
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apk add --no-cache coreutils uv
|
||||
- uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: |
|
||||
uv sync
|
||||
uv build
|
||||
- name: publish
|
||||
run: |
|
||||
uv publish --token ${{ secrets.TEST_PYPI_TOKEN }} \
|
||||
--publish-url 'https://test.pypi.org/legacy/' \
|
||||
--check-url 'https://test.pypi.org/simple'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue