Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pycgtool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Graham
pycgtool
Commits
5cb57d47
Verified
Commit
5cb57d47
authored
4 years ago
by
James Graham
Browse files
Options
Downloads
Patches
Plain Diff
ci: add job to build release artifacts
parent
b0723c41
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/publish.yml
+32
-0
32 additions, 0 deletions
.github/workflows/publish.yml
with
32 additions
and
0 deletions
.github/workflows/publish.yml
+
32
−
0
View file @
5cb57d47
...
...
@@ -26,3 +26,35 @@ jobs:
run
:
|
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish --build
build-release-artifacts
:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
]
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
uses
:
actions/setup-python@v1
with
:
python-version
:
"
3.8"
-
name
:
Install prerequisites
run
:
|
python -m pip install --upgrade pip
pip install pyinstaller
pip install .
-
name
:
Build distributable
run
:
|
pyinstaller pycgtool/__main__.py --name pycgtool-${{ matrix.os }} --onefile --collect-data mdtraj --hidden-import xdrlib
-
uses
:
ncipollo/release-action@v1
with
:
allowUpdates
:
true
artifact
:
dist/pycgtool-${{ matrix.os }}
token
:
${{ secrets.GITHUB_TOKEN }}
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