This commit is contained in:
parent
e69dd80875
commit
c7249ac59d
2 changed files with 26 additions and 0 deletions
20
.forgejo/workflows/publish.yml
Normal file
20
.forgejo/workflows/publish.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
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 --no-dev
|
||||
uv build
|
||||
- name: publish
|
||||
run: |
|
||||
uv publish --token ${{ secrets.TEST_PYPI_TOKEN }} \
|
||||
--index test_pypi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue