Split launcher and installer build, and add launcher exe
This commit is contained in:
@@ -6,51 +6,8 @@ jobs:
|
|||||||
buildAssets:
|
buildAssets:
|
||||||
uses: ./.github/workflows/build_assets.yml
|
uses: ./.github/workflows/build_assets.yml
|
||||||
|
|
||||||
buildLauncherWin64:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Source
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Build Launcher
|
|
||||||
id: build
|
|
||||||
run: |
|
|
||||||
Set-Location setup\windows
|
|
||||||
.\make.ps1
|
|
||||||
|
|
||||||
- name: Upload Unsigned Artifacts
|
|
||||||
id: upload-unsigned-artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: launcher
|
|
||||||
path: setup/windows/novelWriter.exe
|
|
||||||
if-no-files-found: error
|
|
||||||
retention-days: 14
|
|
||||||
|
|
||||||
- name: Submit Signing Request
|
|
||||||
uses: signpath/github-action-submit-signing-request@v1
|
|
||||||
with:
|
|
||||||
api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
|
|
||||||
organization-id: "0471e52c-66fa-4e9a-bfb9-36167095ca3f"
|
|
||||||
project-slug: "novelWriter"
|
|
||||||
signing-policy-slug: "release-signing"
|
|
||||||
artifact-configuration-slug: "launcher"
|
|
||||||
github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
|
|
||||||
wait-for-completion: true
|
|
||||||
output-artifact-directory: "."
|
|
||||||
|
|
||||||
- name: Upload Signed Artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: launcher-signed
|
|
||||||
path: novelWriter.exe
|
|
||||||
if-no-files-found: error
|
|
||||||
retention-days: 14
|
|
||||||
|
|
||||||
buildWin64:
|
buildWin64:
|
||||||
needs:
|
needs: buildAssets
|
||||||
- buildAssets
|
|
||||||
- buildLauncherWin64
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
@@ -62,18 +19,12 @@ jobs:
|
|||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download Artifacts
|
- name: Download Assets
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: nw-assets
|
name: nw-assets
|
||||||
path: novelwriter/assets
|
path: novelwriter/assets
|
||||||
|
|
||||||
- name: Download Artifacts
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: launcher-signed
|
|
||||||
path: setup/windows
|
|
||||||
|
|
||||||
- name: Build Setup Installer
|
- name: Build Setup Installer
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
name: BuildWindowsLauncher
|
||||||
|
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
buildLauncherWin64:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Source
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build Launcher
|
||||||
|
id: build
|
||||||
|
run: |
|
||||||
|
Set-Location setup\windows
|
||||||
|
.\make.ps1
|
||||||
|
|
||||||
|
- name: Upload Unsigned Artifacts
|
||||||
|
id: upload-unsigned-artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: launcher
|
||||||
|
path: setup/windows/novelWriter.exe
|
||||||
|
if-no-files-found: error
|
||||||
|
retention-days: 14
|
||||||
|
|
||||||
|
- name: Submit Signing Request
|
||||||
|
uses: signpath/github-action-submit-signing-request@v1
|
||||||
|
with:
|
||||||
|
api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
|
||||||
|
organization-id: "0471e52c-66fa-4e9a-bfb9-36167095ca3f"
|
||||||
|
project-slug: "novelWriter"
|
||||||
|
signing-policy-slug: "release-signing"
|
||||||
|
artifact-configuration-slug: "launcher"
|
||||||
|
github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
|
||||||
|
wait-for-completion: true
|
||||||
|
output-artifact-directory: "."
|
||||||
|
|
||||||
|
- name: Upload Signed Artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: launcher-signed
|
||||||
|
path: novelWriter.exe
|
||||||
|
if-no-files-found: error
|
||||||
|
retention-days: 14
|
||||||
Binary file not shown.
Reference in New Issue
Block a user