From c9808a274b6e732c94d3b443b014f786d2935493 Mon Sep 17 00:00:00 2001 From: Rob Rodriguez Date: Wed, 11 Oct 2023 14:09:24 -0700 Subject: [PATCH] chore: Secureli 265 python311 support (#317) This is to resolve issues with publishing after changing secureli to support python3.11 --------- Co-authored-by: Rob Rodriguez Co-authored-by: Rob Rodriguez --- .github/workflows/publish.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 25c12460..0196ae35 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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/python-semantic-release@v8.1.1 + # it's running Python 3.10, and Secureli requires >=3.11 - name: Python Semantic Release id: release - uses: python-semantic-release/python-semantic-release@v8.1.1 - with: + run: | + git config --global user.name "github-actions" + git config --global user.email "action@github.com" + semantic-release publish -D commit_author="github-actions " + env: github_token: ${{ steps.app_token.outputs.token }} - name: Upload assets to GitHub Releases