Skip to content

Commit

Permalink
update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Feb 19, 2024
1 parent b5da76e commit 9424b97
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 76 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/binder-on-pr.yml

This file was deleted.

27 changes: 25 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ on:
branches: main
pull_request:
branches: '*'

workflow_dispatch:
inputs:
publish-release:
description: "Production Release"
required: false
type: boolean
default: false
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -42,6 +48,23 @@ jobs:
sed -i 's/"@quarto\/jupyterlab-quarto"/"jupyterlab-quarto"/g' package.json
python -m build
sed -i 's/"jupyterlab-quarto"/"@quarto\/jupyterlab-quarto"/g' package.json
jlpm
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ ! inputs.publish-release }}
with:
repository-url: https://test.pypi.org/legacy/

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ inputs.publish-release }}

- name: Build the NPM Front End
run: |
jlpm clean:all && git clean -dfX
jlpm && jlpm build:prod
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
if: ${{ inputs.publish-release }}
13 changes: 0 additions & 13 deletions .github/workflows/enforce-label.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/update-integration-tests.yml

This file was deleted.

0 comments on commit 9424b97

Please sign in to comment.