-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing publish workflow to be able to control python version
- Loading branch information
Rob Rodriguez
committed
Oct 11, 2023
1 parent
388440c
commit d261399
Showing
1 changed file
with
20 additions
and
2 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 |
---|---|---|
|
@@ -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 | ||
|