diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/manual-publish.yml index 996e017..a5387fe 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/manual-publish.yml @@ -18,15 +18,15 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.9 - - name: Install poetry uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 with: poetry-version: "1.8.5" + - uses: actions/setup-python@v5 + with: + python-version: 3.9 + - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0 name: 'Get PyPI token' with: diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 1263eaf..113c43e 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -21,17 +21,17 @@ jobs: with: fetch-depth: 0 # Full history is required for proper changelog generation - - uses: actions/setup-python@v5 - if: ${{ steps.release.outputs.releases_created == 'true' }} - with: - python-version: 3.9 - - name: Install poetry if: ${{ steps.release.outputs.releases_created == 'true' }} uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 with: poetry-version: "1.8.5" + - uses: actions/setup-python@v5 + if: ${{ steps.release.outputs.releases_created == 'true' }} + with: + python-version: 3.9 + - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0 if: ${{ steps.release.outputs.releases_created == 'true' }} name: 'Get PyPI token'