-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove strict boost dependency and auto-publish to pypi
Removal of boost dependency was handled in gostevehoward/confseq#16
- Loading branch information
1 parent
aa60dff
commit 2d51731
Showing
5 changed files
with
59 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build and publish package | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
release: | ||
types: [ prereleased, released ] | ||
|
||
jobs: | ||
build_and_publish: | ||
name: Build and publish rilacs on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build dist | ||
run: | | ||
pip install --upgrade build | ||
python -m build ./ | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: rilacs_dist | ||
path: ./dist/* | ||
|
||
- name: Publish distribution to Test PyPI (if prereleased) | ||
if: github.event_name == 'release' && github.event.action == 'prereleased' | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
|
||
- name: Publish distribution to PyPI (if officially released) | ||
if: github.event_name == 'release' && github.event.action == 'released' | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters