dist to pub
This commit is contained in:
11
.github/workflows/build_jlext.yml
vendored
11
.github/workflows/build_jlext.yml
vendored
@@ -4,14 +4,17 @@ on:
|
|||||||
extension-name:
|
extension-name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
dist-dir:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: 'dist'
|
||||||
artifact-name:
|
artifact-name:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: 'artifact'
|
default: 'artifact'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_java_project:
|
build_jlext_project:
|
||||||
runs-on: ubuntu_act_on_20
|
runs-on: ubuntu_act_on_20
|
||||||
# container:
|
# container:
|
||||||
# image: catthehacker/ubuntu:act-latest
|
# image: catthehacker/ubuntu:act-latest
|
||||||
@@ -64,11 +67,13 @@ jobs:
|
|||||||
pip install build
|
pip install build
|
||||||
python -m build
|
python -m build
|
||||||
pip uninstall -y "${{ inputs.extension-name }}" jupyterlab
|
pip uninstall -y "${{ inputs.extension-name }}" jupyterlab
|
||||||
|
|
||||||
|
mv ${{ inputs.dist-dir }} pub
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.artifact-name }}
|
name: ${{ inputs.artifact-name }}
|
||||||
path: |
|
path: |
|
||||||
dist
|
pub
|
||||||
docker
|
docker
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|||||||
Reference in New Issue
Block a user