-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (46 loc) · 1.27 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Build and package Windows
on:
workflow_call:
inputs:
initial_scene:
required: true
type: string
branch_name:
required: true
type: string
commit_hash:
required: true
type: string
jobs:
build:
name: 'Build for Windows'
uses: ./.github/workflows/build.yml
with:
target_platform: StandaloneWindows64
initial_scene: ${{ inputs.initial_scene }}
branch_name: ${{ inputs.branch_name }}
commit_hash: ${{ inputs.commit_hash }}
secrets: inherit
package_windows:
name: Package Windows build
needs: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: installers/windows
- uses: actions/download-artifact@v4
with:
name: Build-StandaloneWindows64
run-id: ${{ github.run_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path: public
- name: Compile installer
uses: Minionguyjpro/[email protected]
with:
path: ./installers/windows/pop-pixie.iss
options: /O+
- uses: actions/upload-artifact@v4
with:
name: 'Windows Installer'
path: 'installers/windows/Output/Install Pop Pixie.exe'