Skip to content

Commit

Permalink
test build an scan
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuettlerTNG committed Feb 25, 2025
1 parent 3393b92 commit 755d15a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ jobs:
cache-dependencies,
metadata-labels,
analyzer,
scanner,
reporter,
upload-results,

0 comments on commit 755d15a

Please sign in to comment.