From c2d8b3c66d5e44f35558db09314d5ab5731add01 Mon Sep 17 00:00:00 2001 From: thomas-bc Date: Mon, 14 Oct 2024 18:24:21 -0700 Subject: [PATCH 1/2] Add setup-python to publishing workflow --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb5c7b19..f034bcc0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,10 +12,13 @@ jobs: id-token: write steps: - name: "Checkout Repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup Python + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Upgrade Python Build Tools run: pip install -U build twine - name: Build distributions run: python -m build From c33d24a7ba27a71cfed9ab0603cc4c6e782ae7ac Mon Sep 17 00:00:00 2001 From: thomas-bc Date: Mon, 14 Oct 2024 18:26:24 -0700 Subject: [PATCH 2/2] add name --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f034bcc0..74bb2120 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - name: Setup Python + uses: actions/setup-python@v5 with: python-version: '3.11' - name: Upgrade Python Build Tools