From 6b472f4eded363a34e15798ee5f6f87bbeda2aa8 Mon Sep 17 00:00:00 2001 From: Tony Meyer Date: Thu, 19 Dec 2024 09:53:46 +1300 Subject: [PATCH] Properly point to the package location. --- .github/workflows/publish-ops-scenario.yaml | 4 ++-- .github/workflows/test-publish-ops-scenario.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-ops-scenario.yaml b/.github/workflows/publish-ops-scenario.yaml index 693de5798..c50f3624c 100644 --- a/.github/workflows/publish-ops-scenario.yaml +++ b/.github/workflows/publish-ops-scenario.yaml @@ -29,10 +29,10 @@ jobs: run: python -m build working-directory: ./testing - name: Attest build provenance - working-directory: ./testing uses: actions/attest-build-provenance@v1.4.3 with: subject-path: 'testing/dist/*' - name: Publish - working-directory: ./testing uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: ./testing/dist/ diff --git a/.github/workflows/test-publish-ops-scenario.yaml b/.github/workflows/test-publish-ops-scenario.yaml index 0162ca2ab..280d656e1 100644 --- a/.github/workflows/test-publish-ops-scenario.yaml +++ b/.github/workflows/test-publish-ops-scenario.yaml @@ -30,7 +30,7 @@ jobs: with: subject-path: 'testing/dist/*' - name: Publish to test.pypi.org - working-directory: ./testing uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ + packages-dir: ./testing/dist/