From 4319f8a76f351660840fa1ecf7ea2965f5eda0a5 Mon Sep 17 00:00:00 2001 From: Jeremy Maitin-Shepard Date: Mon, 18 Mar 2024 02:13:34 -0700 Subject: [PATCH] chore: fix PyPI package upload --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca1fbebc2..0799b97c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -195,10 +195,6 @@ jobs: with: name: npm-package path: npm-package - - uses: actions/download-artifact@v4 - with: - name: client - path: dist/client # - name: Publish to PyPI (test server) # uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806 # 2020-09-25 # with: @@ -216,6 +212,12 @@ jobs: working-directory: npm-package env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # Download dist/client after publishing to PyPI, because PyPI publish + # action fails if dist/client directory is present. + - uses: actions/download-artifact@v4 + with: + name: client + path: dist/client - name: Publish to Firebase hosting uses: FirebaseExtended/action-hosting-deploy@v0 with: