From e7b7d5f2ddffa4344d827c99de447b937ba91ef1 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:50:35 +0100 Subject: [PATCH] ci/nightly: fix path for upload (#19666) --- .github/workflows/release-nightly.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index b94ddf2121cda..eb71ce9c9e20b 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -57,22 +57,15 @@ jobs: env: PKG_NAME: "lightning" steps: - - uses: actions/checkout@v4 # needed for local action below - uses: actions/download-artifact@v4 with: name: nightly-packages-${{ github.sha }} path: dist - - name: Browse folder - id: folder - run: | - sudo apt install -q -y tree - tree -L 2 -h dist/ - python -c "print('pkg=' + '${{ env.PKG_NAME }}'.lower())" >> $GITHUB_OUTPUT - uses: ./.github/actions/pkg-publish with: - pkg-folder: dist/${{ steps.folder.outputs.pkg }} + pkg-folder: dist pypi-test-token: ${{ secrets[format('PYPI_TEST_TOKEN_{0}', env.PKG_NAME)] }} - uses: ./.github/actions/pkg-publish with: - pkg-folder: dist/${{ steps.folder.outputs.pkg }} + pkg-folder: dist pypi-token: ${{ secrets[format('PYPI_TOKEN_{0}', env.PKG_NAME)] }}