Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
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
savoirfairelinux
opendht
Commits
48e718ff
Commit
48e718ff
authored
2 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
ci/github: update release action
parent
07d25a41
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/release-package.yml
+7
-21
7 additions, 21 deletions
.github/workflows/release-package.yml
with
7 additions
and
21 deletions
.github/workflows/release-package.yml
+
7
−
21
View file @
48e718ff
...
...
@@ -153,25 +153,14 @@ jobs:
labels
:
${{ steps.meta.outputs.labels }}
build-python-wheel
:
name
:
B
uild Python Wheel package
name
:
Release and b
uild Python Wheel package
runs-on
:
ubuntu-latest
container
:
ghcr.io/savoirfairelinux/opendht/opendht-deps:latest
permissions
:
contents
:
read
contents
:
write
steps
:
-
name
:
Create Release
id
:
create_release
uses
:
actions/create-release@v1
env
:
GITHUB_TOKEN
:
${{ secrets.AUTH_TOKEN }}
with
:
tag_name
:
${{ github.ref }}
release_name
:
${{ github.ref }}
draft
:
true
prerelease
:
false
-
name
:
Checkout repository
uses
:
actions/checkout@v3
...
...
@@ -196,12 +185,9 @@ jobs:
name
:
opendht-wheels-linux
path
:
build/python/dist/*.whl
-
name
:
Upload Release Asset
id
:
upload-release-asset
uses
:
actions/upload-release-asset@v1
env
:
GITHUB_TOKEN
:
${{ secrets.AUTH_TOKEN }}
-
name
:
Create Release
id
:
create_release
uses
:
softprops/action-gh-release@v1
with
:
upload_url
:
${{ steps.create_release.outputs.upload_url }}
asset_path
:
build/python/dist/*.whl
asset_name
:
opendht-${{ github.ref }}-cp310-cp310-linux_x86_64.whl
draft
:
true
files
:
build/python/dist/*.whl
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