File tree Expand file tree Collapse file tree 2 files changed +1
-53
lines changed Expand file tree Collapse file tree 2 files changed +1
-53
lines changed Original file line number Diff line number Diff line change 30
30
with :
31
31
name : tarball
32
32
33
- - name : Download msix 📥
34
- uses : actions/download-artifact@v4
35
- with :
36
- name : launcher-msix
37
-
38
- - name : Rename msix ✏️
39
- run : mv */*.msixbundle NixOS-WSL-Launcher.msixbundle
40
-
41
33
- name : Download bundle
42
34
uses : actions/download-artifact@v4
43
35
with :
50
42
51
43
- name : Generate Checksums 🔑
52
44
run : |
53
- for x in *.{tar.gz,msixbundle, zip}; do
45
+ for x in *.{tar.gz,zip}; do
54
46
sha256sum $x > ${x}.sha256
55
47
done
56
48
62
54
nixos-wsl.tar.gz.sha256
63
55
NixOS-WSL-Launcher.zip
64
56
NixOS-WSL-Launcher.zip.sha256
65
- NixOS-WSL-Launcher.msixbundle
66
- NixOS-WSL-Launcher.msixbundle.sha256
67
57
env :
68
58
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 36
36
with :
37
37
name : launcher-bundle
38
38
path : Launcher/Launcher/pkg
39
-
40
- launcher-msix :
41
- name : MSIX 📦
42
- runs-on : windows-latest
43
- steps :
44
- - name : Checkout
45
- uses : actions/checkout@v4
46
- with :
47
- fetch-depth : 0
48
-
49
- - name : Download tarball 📥
50
- uses : actions/download-artifact@v4
51
- with :
52
- name : tarball
53
- path : Launcher/Launcher-Appx
54
-
55
- - name : Setup .NET 🧰
56
- uses : ./.github/actions/setup-dotnet
57
-
58
- - name : Set Versions 🏷️
59
- uses : ./.github/actions/version
60
-
61
- - name : Build MSIX package 📦
62
- working-directory : Launcher
63
- run : msbuild Launcher-Appx\Launcher-Appx.wapproj /p:Configuration=Release /p:Platform=x64 /p:ContinuousIntegrationBuild=true /p:Deterministic=true
64
-
65
- - name : Sign package ✒️
66
- env :
67
- APPX_SIGNING_CERT : ${{ secrets.APPX_SIGNING_CERT }}
68
- CERT_ALGORITHM : ${{ secrets.CERT_ALGORITHM }}
69
- if : env.APPX_SIGNING_CERT != ''
70
- run : |
71
- Write-Output $env:APPX_SIGNING_CERT > appx-cert.b64
72
- certutil -decode appx-cert.b64 appx-cert.pfx
73
- &"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" sign /fd $env:CERT_ALGORITHM /a /f appx-cert.pfx $(Get-ChildItem -Recurse -Filter "*.msixbundle")[0].FullName
74
- Get-PfxCertificate appx-cert.pfx | Export-Certificate -FilePath "$($(Get-ChildItem -Recurse -Filter "*.msixbundle")[0].Directory.FullName)\certificate.cer" -Type CERT
75
-
76
- - name : Upload MSIX 📤
77
- uses : actions/upload-artifact@v4
78
- with :
79
- name : launcher-msix
80
- path : Launcher/Launcher-Appx/AppPackages/
You can’t perform that action at this time.
0 commit comments