Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cornac
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arthur Batel
cornac
Commits
062c3a9e
Commit
062c3a9e
authored
3 years ago
by
tqtg
Browse files
Options
Downloads
Patches
Plain Diff
only rename linux wheels on ubuntu
parent
c71c8681
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/python-publish.yml
+5
-4
5 additions, 4 deletions
.github/workflows/python-publish.yml
with
5 additions
and
4 deletions
.github/workflows/python-publish.yml
+
5
−
4
View file @
062c3a9e
...
@@ -48,7 +48,11 @@ jobs:
...
@@ -48,7 +48,11 @@ jobs:
-
name
:
Build wheels
-
name
:
Build wheels
run
:
python setup.py bdist_wheel
run
:
python setup.py bdist_wheel
-
name
:
Rename Linux wheels to supported platform of PyPI
if
:
matrix.os == 'ubuntu-latest'
run
:
for f in dist/*.whl; do mv "$f" "$(echo "$f" | sed s/linux/manylinux1/)"; done
-
name
:
Publish wheels to GitHub artifacts
-
name
:
Publish wheels to GitHub artifacts
uses
:
actions/upload-artifact@v2
uses
:
actions/upload-artifact@v2
with
:
with
:
...
@@ -66,9 +70,6 @@ jobs:
...
@@ -66,9 +70,6 @@ jobs:
with
:
with
:
name
:
wheels
name
:
wheels
path
:
dist/
path
:
dist/
-
name
:
Rename Linux wheels to supported platform of PyPI
run
:
for f in dist/*.whl; do mv "$f" "$(echo "$f" | sed s/linux/manylinux1/)"; done
-
name
:
Set up Python
-
name
:
Set up Python
uses
:
actions/setup-python@v2
uses
:
actions/setup-python@v2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment