From 4d6b39d0d991f799fcf02a3a925d8fef3c07b28e Mon Sep 17 00:00:00 2001 From: Adam Kingsley Date: Thu, 13 Feb 2025 14:07:33 +0000 Subject: [PATCH] Bump artifacts action --- .github/workflows/publish-testpypi.yaml | 49 ++++++++++++------------- .github/workflows/publish.yaml | 2 +- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/.github/workflows/publish-testpypi.yaml b/.github/workflows/publish-testpypi.yaml index 4f7bc4a..3eae4b1 100644 --- a/.github/workflows/publish-testpypi.yaml +++ b/.github/workflows/publish-testpypi.yaml @@ -8,29 +8,29 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout Repo - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install pypa/build - run: >- - python3 -m - pip install - build - --user - - - name: Build a binary wheel and a source tarball - run: python3 -m build - - - name: Store the distribution packages - uses: actions/upload-artifact@v3 - with: - name: python-package-distributions - path: dist/ + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Install pypa/build + run: >- + python3 -m + pip install + build + --user + + - name: Build a binary wheel and a source tarball + run: python3 -m build + + - name: Store the distribution packages + uses: actions/upload-artifact@v4 + with: + name: python-package-distributions + path: dist/ publish-to-testpypi: name: Publish Python distribution to TestPyPI @@ -45,7 +45,7 @@ jobs: url: https://test.pypi.org/p/local-abbfreeathome permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing + id-token: write # IMPORTANT: mandatory for trusted publishing steps: - name: Download all the dists @@ -58,4 +58,3 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ - \ No newline at end of file diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e91530b..33331c7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -27,7 +27,7 @@ jobs: run: python3 -m build - name: Store the distribution packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: python-package-distributions path: dist/