FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
llama-cpp-python/.github/workflows/publish-to-test.yaml at main · HardSoft2023/llama-cpp-python · GitHub
HardSoft2023
/
llama-cpp-python
Public
forked from
abetlen/llama-cpp-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
llama-cpp-python
/
.github
/
workflows
/
publish-to-test.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
30 lines (26 loc) · 865 Bytes
Breadcrumbs
llama-cpp-python
/
.github
/
workflows
/
publish-to-test.yaml
Copy path
File metadata and controls
30 lines (26 loc) · 865 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
Based on: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
name
:
Publish to TestPyPI
on
:
workflow_dispatch
jobs
:
build-n-publish
:
name
:
Build and publish
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
with
:
submodules
:
"
true
"
-
name
:
Set up Python
uses
:
actions/setup-python@v4
with
:
python-version
:
"
3.8
"
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
-
name
:
Build source distribution
run
:
|
python setup.py sdist
-
name
:
Publish to Test PyPI
uses
:
pypa/gh-action-pypi-publish@release/v1
with
:
password
:
${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url
:
https://test.pypi.org/legacy/
Back
|
FazBrowse Home
|
New Git URL