diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 210d0ce..395bf66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,7 +137,7 @@ jobs: ./upload_docs release: - if: startsWith(github.event.ref, 'refs/tags/v') +# if: startsWith(github.event.ref, 'refs/tags/v') needs: [test, ui-test, build-docs] runs-on: ubuntu-20.04 steps: @@ -145,37 +145,37 @@ jobs: with: name: ipyaggrid-dist-${{ github.run_number }} - - name: Install node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: "https://registry.npmjs.org" - - - name: Install Python - uses: actions/setup-python@v5 - with: - python-version: 3.8 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install twine wheel jupyter-packaging jupyterlab - - - name: Publish the Python package - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: twine upload --skip-existing dist/* - - - name: Publish the NPM package - run: | - cd js - echo $PRE_RELEASE - if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi - npm publish --tag ${TAG} --access public *.tgz - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - PRE_RELEASE: ${{ github.event.release.prerelease }} +# - name: Install node +# uses: actions/setup-node@v4 +# with: +# node-version: "20.x" +# registry-url: "https://registry.npmjs.org" +# +# - name: Install Python +# uses: actions/setup-python@v5 +# with: +# python-version: 3.8 +# +# - name: Install dependencies +# run: | +# python -m pip install --upgrade pip +# pip install twine wheel jupyter-packaging jupyterlab +# +# - name: Publish the Python package +# env: +# TWINE_USERNAME: __token__ +# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} +# run: twine upload --skip-existing dist/* +# +# - name: Publish the NPM package +# run: | +# cd js +# echo $PRE_RELEASE +# if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi +# npm publish --tag ${TAG} --access public *.tgz +# env: +# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} +# PRE_RELEASE: ${{ github.event.release.prerelease }} - uses: actions/download-artifact@v4 with: