From a34bb6dd4f0c97b04e1428df8011182016b961f3 Mon Sep 17 00:00:00 2001 From: Kirill Sulim Date: Tue, 21 Feb 2023 21:33:14 +0500 Subject: [PATCH] Properly import secret --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 230b16e..f813046 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Import Secrets + id: secrets uses: hashicorp/vault-action@v2 with: url: https://vault.su0.org @@ -37,7 +38,7 @@ jobs: uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + password: ${{ steps.secrets.outputs.PYPI_API_TOKEN }} - name: Tag run: | export TAG="$(poetry version -s)"