Skip to content

Commit

Permalink
ci: remove MSIX build
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed Dec 6, 2024
1 parent a6b9cf0 commit 3ce6209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 53 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
with:
name: tarball

- name: Download msix 📥
uses: actions/download-artifact@v4
with:
name: launcher-msix

- name: Rename msix ✏️
run: mv */*.msixbundle NixOS-WSL-Launcher.msixbundle

- name: Download bundle
uses: actions/download-artifact@v4
with:
Expand All @@ -50,7 +42,7 @@ jobs:

- name: Generate Checksums 🔑
run: |
for x in *.{tar.gz,msixbundle,zip}; do
for x in *.{tar.gz,zip}; do
sha256sum $x > ${x}.sha256
done
Expand All @@ -62,7 +54,5 @@ jobs:
nixos-wsl.tar.gz.sha256
NixOS-WSL-Launcher.zip
NixOS-WSL-Launcher.zip.sha256
NixOS-WSL-Launcher.msixbundle
NixOS-WSL-Launcher.msixbundle.sha256
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42 changes: 0 additions & 42 deletions .github/workflows/run_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,45 +36,3 @@ jobs:
with:
name: launcher-bundle
path: Launcher/Launcher/pkg

launcher-msix:
name: MSIX 📦
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download tarball 📥
uses: actions/download-artifact@v4
with:
name: tarball
path: Launcher/Launcher-Appx

- name: Setup .NET 🧰
uses: ./.github/actions/setup-dotnet

- name: Set Versions 🏷️
uses: ./.github/actions/version

- name: Build MSIX package 📦
working-directory: Launcher
run: msbuild Launcher-Appx\Launcher-Appx.wapproj /p:Configuration=Release /p:Platform=x64 /p:ContinuousIntegrationBuild=true /p:Deterministic=true

- name: Sign package ✒️
env:
APPX_SIGNING_CERT: ${{ secrets.APPX_SIGNING_CERT }}
CERT_ALGORITHM: ${{ secrets.CERT_ALGORITHM }}
if: env.APPX_SIGNING_CERT != ''
run: |
Write-Output $env:APPX_SIGNING_CERT > appx-cert.b64
certutil -decode appx-cert.b64 appx-cert.pfx
&"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
Get-PfxCertificate appx-cert.pfx | Export-Certificate -FilePath "$($(Get-ChildItem -Recurse -Filter "*.msixbundle")[0].Directory.FullName)\certificate.cer" -Type CERT
- name: Upload MSIX 📤
uses: actions/upload-artifact@v4
with:
name: launcher-msix
path: Launcher/Launcher-Appx/AppPackages/

0 comments on commit 3ce6209

Please sign in to comment.