Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
d08693f4
Commit
d08693f4
authored
May 21, 2024
by
Timothy J. Baek
Browse files
Create release-pypi-test.yml
parent
44d73dd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
.github/workflows/release-pypi-test.yml
.github/workflows/release-pypi-test.yml
+32
-0
No files found.
.github/workflows/release-pypi-test.yml
0 → 100644
View file @
d08693f4
name
:
Release to PyPI
on
:
push
:
branches
:
-
main
# or whatever branch you want to use
-
dev
jobs
:
release
:
runs-on
:
ubuntu-latest
environment
:
name
:
pypi
url
:
https://pypi.org/p/openwebui
permissions
:
id-token
:
write
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
-
uses
:
actions/setup-node@v4
with
:
node-version
:
18
-
uses
:
actions/setup-python@v5
with
:
python-version
:
3.11
-
name
:
Build
run
:
|
python -m pip install --upgrade pip
pip install build
python -m build .
-
name
:
Publish package distributions to PyPI
uses
:
pypa/gh-action-pypi-publish@release/v1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment