Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
01ad8920
Commit
01ad8920
authored
Sep 30, 2020
by
Henry Schreiner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: publish in two steps
parent
319b9964
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
.github/workflows/pip.yml
+21
-7
No files found.
.github/workflows/pip.yml
View file @
01ad8920
...
@@ -63,9 +63,18 @@ jobs:
...
@@ -63,9 +63,18 @@ jobs:
-
name
:
Check metadata
-
name
:
Check metadata
run
:
twine check dist/*
run
:
twine check dist/*
-
uses
:
actions/upload-artifact@v2
-
name
:
Save standard package
uses
:
actions/upload-artifact@v2
with
:
with
:
path
:
dist/*
name
:
standard
path
:
dist/pybind11-*
-
name
:
Save global package
uses
:
actions/upload-artifact@v2
with
:
name
:
global
path
:
dist/pybind11_global-*
# When a GitHub release is made, upload the artifacts to PyPI
# When a GitHub release is made, upload the artifacts to PyPI
...
@@ -78,12 +87,17 @@ jobs:
...
@@ -78,12 +87,17 @@ jobs:
steps
:
steps
:
-
uses
:
actions/setup-python@v2
-
uses
:
actions/setup-python@v2
# Downloads all to directories matching the artifact names
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
with
:
path
:
dist
name
:
artifact
-
uses
:
pypa/gh-action-pypi-publish@v1.4.1
-
name
:
Publish standard package
uses
:
pypa/gh-action-pypi-publish@v1.4.1
with
:
with
:
user
:
__token__
password
:
${{ secrets.pypi_password }}
password
:
${{ secrets.pypi_password }}
packages_dir
:
standard/
-
name
:
Publish global package
uses
:
pypa/gh-action-pypi-publish@v1.4.1
with
:
password
:
${{ secrets.pypi_password_global }}
packages_dir
:
global/
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