From 28bcefe4537417251a371662f925fc53f0b6a097 Mon Sep 17 00:00:00 2001 From: Chang Liu Date: Sun, 19 Nov 2023 11:58:24 +0800 Subject: [PATCH] Tag nightly build as next on npmjs --- .github/workflows/build-and-deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 50b0825052..dae33356e4 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -182,9 +182,14 @@ jobs: run: npm publish kuzu-source.tar.gz --access public --dry-run working-directory: tools/nodejs_api + - name: Deploy nightly to npm.js + if: ${{ github.event_name == 'schedule' || (github.event.inputs.isDeploy == 'true' && github.event.inputs.isNightly == 'true') }} + run: npm publish kuzu-source.tar.gz --access public --tag next + working-directory: tools/nodejs_api + - name: Deploy to npm.js - if: ${{ github.event_name == 'schedule' || github.event.inputs.isDeploy == 'true' }} - run: npm publish kuzu-source.tar.gz --access public + if: ${{ github.event.inputs.isDeploy == 'true' && github.event.inputs.isNightly != 'true' }} + run: npm publish kuzu-source.tar.gz --access public --tag latest working-directory: tools/nodejs_api build-wheel-mac: