Skip to content

Commit

Permalink
Use an Action to get the Zui version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Apr 16, 2024
1 parent 592762c commit f3b129f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/build-zui/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ runs:
repository: 'SSLcom/esigner-codesign'
path: esigner-codesign

- name: Get Zui version from package.json
id: zui-version
uses: martinbeentjes/[email protected]
with:
path: apps/zui

- name: Build & Publish
run: ${{ inputs.cmd }}
shell: bash
Expand All @@ -68,7 +74,7 @@ runs:
APPLE_TEAM_ID: ${{ inputs.apple_team_id }}
CODE_SIGN_SCRIPT_PATH: "${{ github.workspace }}/esigner-codesign/dist/index.js"
INPUT_COMMAND: "sign"
INPUT_FILE_PATH: "${{ github.workspace }}/dist/apps/zui/Zui Setup 1.7.0.exe"
INPUT_FILE_PATH: "${{ github.workspace }}/dist/apps/zui/Zui Setup ${{ steps.zui-version.outputs.current-version}}.exe"
INPUT_OVERRIDE: "true"
INPUT_MALWARE_BLOCK: "false"
INPUT_CLEAN_LOGS: "false"
Expand Down

0 comments on commit f3b129f

Please sign in to comment.