From 8657cf88745f9379c183575be9382badf1d594b9 Mon Sep 17 00:00:00 2001 From: ModeSevenIndustrialSolutions Date: Wed, 24 Sep 2025 12:38:28 +0100 Subject: [PATCH] CI: Add environment static credentials for next tag/push The lftools package isn't found on test.pypi.org, which is resulting in the fallback mechanism being used by our pypi-publish-action, which requires either a 1Password service account, and a vault credential, or a static password provided in the development/production environments. This change will pass the missing secrets through to the action. Change-Id: I1a42ac19fb2be00740023072531944931f51d138 Signed-off-by: ModeSevenIndustrialSolutions --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3835a408..02d18fb3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -164,6 +164,7 @@ jobs: with: environment: 'development' tag: "${{ needs.tag-validate.outputs.tag }}" + pypi_credential: "${{ secrets.TEST_PYPI_CREDENTIAL }}" pypi: name: 'Release PyPI Package' @@ -194,6 +195,7 @@ jobs: environment: 'production' attestations: true tag: "${{ needs.tag-validate.outputs.tag }}" + pypi_credential: "${{ secrets.PYPI_CREDENTIAL }}" # Need to attach build artefacts to the release # This step could potentially be moved -- 2.16.6