dist to pub

This commit is contained in:
smf
2024-04-11 15:53:16 +08:00
parent e3eee7c499
commit 3cc8b7fbf6

View File

@@ -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
@@ -65,10 +68,12 @@ jobs:
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