From 755d15a5be9a4923da0350760c1230e619475033 Mon Sep 17 00:00:00 2001 From: Markus Schuettler Date: Tue, 25 Feb 2025 18:44:55 +0100 Subject: [PATCH] test build an scan --- .github/workflows/build-installer.yml | 22 ++++++---------------- .github/workflows/ort.yml | 1 + 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml index e394f7cc..a2b01f90 100644 --- a/.github/workflows/build-installer.yml +++ b/.github/workflows/build-installer.yml @@ -1,19 +1,10 @@ name: build installer -run-name: installer-build-${{ inputs.platform }}-${{ github.sha }} +run-name: installer-build-${{ github.sha }} on: workflow_dispatch: - inputs: - platform: - type: choice - description: installer(s) to build - required: true - options: - - arc - - ultra - - ultra2 - - all + jobs: build-installer: runs-on: windows-latest @@ -55,10 +46,9 @@ jobs: - name: build installer working-directory: "WebUI" run: | - npm run fetch-build-resources - npm run pack-python - npm run prebuild - npm run build:${{ inputs.platform }} + npm run fetch-build-resources -- --conda_env_dir=../python_package_res/conda + npm run prepare-build + npm run build - name: set release path working-directory: "release" @@ -69,7 +59,7 @@ jobs: - name: upload release uses: actions/upload-artifact@v4 with: - name: "installers-${{ inputs.platform }}-${{ github.sha }}" + name: "installers-${{ github.sha }}" path: ${{ env.RELEASE_DIR }}\*.exe if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/ort.yml b/.github/workflows/ort.yml index 0f06c068..e8fe37a4 100644 --- a/.github/workflows/ort.yml +++ b/.github/workflows/ort.yml @@ -19,5 +19,6 @@ jobs: cache-dependencies, metadata-labels, analyzer, + scanner, reporter, upload-results,