-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and GitHub Workflows
- Loading branch information
1 parent
3018b53
commit 4de995b
Showing
4 changed files
with
464 additions
and
461 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,30 +10,32 @@ jobs: | |
name: Tagged Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10.x' | ||
- name: Install Poetry | ||
uses: abatilo/[email protected] | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Build a wheel | ||
run: poetry build | ||
- name: Upload wheel | ||
uses: actions/[email protected] | ||
with: | ||
name: Python Wheel | ||
path: "dist/*.whl" | ||
- name: Deploy release | ||
uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
prerelease: false | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
files: | | ||
dist/*.whl | ||
- name: Publish to PyPI | ||
env: | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} | ||
run: poetry publish | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11.x' | ||
- name: Install Poetry | ||
uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: '1.4.1' | ||
- name: Install project | ||
run: poetry install --no-dev | ||
- name: Build a wheel | ||
run: poetry build | ||
- name: Upload wheel | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Python Wheel | ||
path: "dist/*.whl" | ||
- name: Deploy release | ||
uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
prerelease: false | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
files: | | ||
dist/*.whl | ||
- name: Publish to PyPI | ||
env: | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} | ||
run: poetry publish |
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
Oops, something went wrong.