Skip to content

Commit

Permalink
chore: Secureli 265 python311 support (#317)
Browse files Browse the repository at this point in the history
This is to resolve issues with publishing after changing secureli to
support python3.11

---------

Co-authored-by: Rob Rodriguez <[email protected]>
Co-authored-by: Rob Rodriguez <[email protected]>
  • Loading branch information
3 people authored Oct 11, 2023
1 parent ecfac07 commit c9808a2
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,28 @@ jobs:
fetch-depth: 0
token: ${{ steps.app_token.outputs.token }}

- name: Set up Python 3.11
id:setup-python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
id:
run: |
python3.11 -m pip install poetry --upgrade pip
poetry config virtualenvs.create false
poetry install
# Can't use: python-semantic-release/[email protected]
# it's running Python 3.10, and Secureli requires >=3.11
- name: Python Semantic Release
id: release
uses: python-semantic-release/[email protected]
with:
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
semantic-release publish -D commit_author="github-actions <[email protected]>"
env:
github_token: ${{ steps.app_token.outputs.token }}

- name: Upload assets to GitHub Releases
Expand Down

0 comments on commit c9808a2

Please sign in to comment.