Skip to content

Commit 68013bb

Browse files
committed
ci: do not build launcher
1 parent 13f250e commit 68013bb

File tree

5 files changed

+1
-130
lines changed

5 files changed

+1
-130
lines changed

.github/workflows/on_push.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ jobs:
1010
name: Build 🛠️
1111
uses: ./.github/workflows/run_build.yml
1212

13-
package:
14-
name: Package 📦
15-
uses: ./.github/workflows/run_package.yml
16-
needs:
17-
- build
18-
1913
checks:
2014
name: Checks 📋
2115
uses: ./.github/workflows/run_checks.yml
@@ -36,7 +30,6 @@ jobs:
3630
runs-on: ubuntu-latest
3731
needs:
3832
- build
39-
- package
4033
- checks
4134
- tests
4235
- docs
@@ -47,7 +40,6 @@ jobs:
4740
"Checks" = "${{ needs.checks.result }}"
4841
"Build" = "${{ needs.build.result }}"
4942
"Tests" = "${{ needs.tests.result }}"
50-
"Package" = "${{ needs.package.result }}"
5143
"Docs" = "${{ needs.docs.result }}"
5244
}
5345

.github/workflows/on_release.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ jobs:
99
name: Build 🛠️
1010
uses: ./.github/workflows/run_build.yml
1111

12-
package:
13-
name: Package 📦
14-
uses: ./.github/workflows/run_package.yml
15-
needs:
16-
- build
17-
secrets:
18-
APPX_SIGNING_CERT: ${{ secrets.APPX_SIGNING_CERT }}
19-
CERT_ALGORITHM: ${{ secrets.CERT_ALGORITHM }}
20-
2112
release:
2213
needs:
2314
- build
@@ -30,29 +21,15 @@ jobs:
3021
with:
3122
name: tarball
3223

33-
- name: Download bundle
34-
uses: actions/download-artifact@v4
35-
with:
36-
name: launcher-bundle
37-
path: launcher-bundle
38-
39-
- name: Zip launcher bundle 📦
40-
working-directory: launcher-bundle
41-
run: zip -r ../NixOS-WSL-Launcher.zip .
42-
4324
- name: Generate Checksums 🔑
4425
run: |
45-
for x in *.{wsl,zip}; do
46-
sha256sum $x > ${x}.sha256
47-
done
26+
sha256sum nixos.wsl > nixos.wsl.sha256
4827
4928
- name: Attach to Release 📎
5029
uses: softprops/action-gh-release@v2
5130
with:
5231
files: |
5332
nixos.wsl
5433
nixos.wsl.sha256
55-
NixOS-WSL-Launcher.zip
56-
NixOS-WSL-Launcher.zip.sha256
5734
env:
5835
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/run_build.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,3 @@ jobs:
3434
with:
3535
name: tarball
3636
path: nixos.wsl
37-
38-
launcher:
39-
name: Launcher 🛠️
40-
runs-on: windows-latest
41-
steps:
42-
- name: Checkout
43-
uses: actions/checkout@v4
44-
with:
45-
fetch-depth: 0
46-
47-
- name: Setup .NET 🧰
48-
uses: ./.github/actions/setup-dotnet
49-
50-
- name: Set Versions 🏷️
51-
uses: ./.github/actions/version
52-
53-
- name: Build Launcher
54-
run: |
55-
cd Launcher
56-
dotnet publish --self-contained -r win-x64 -c Release -p:ContinuousIntegrationBuild=true -p:Deterministic=true --output Launcher\pkg Launcher
57-
58-
- name: Upload Launcher 📤
59-
uses: actions/upload-artifact@v4
60-
with:
61-
name: launcher-bin
62-
path: |
63-
Launcher/Launcher/obj
64-
Launcher/Launcher/pkg

.github/workflows/run_checks.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -44,38 +44,3 @@ jobs:
4444
- name: Run Check 📋
4545
run: |
4646
nix build -L --impure --expr "with builtins; (getFlake (toString ./.)).checks.\${currentSystem}.${{ matrix.check }}"
47-
48-
resharper:
49-
name: Check .NET 📋
50-
runs-on: windows-latest
51-
steps:
52-
- name: Checkout
53-
uses: actions/checkout@v4
54-
with:
55-
fetch-depth: 0
56-
57-
- name: Setup .NET 🧰
58-
id: setup-dotnet
59-
uses: ./.github/actions/setup-dotnet
60-
61-
- name: Install ReSharper Command Line Tools 🧰
62-
shell: pwsh
63-
run: dotnet tool install -g JetBrains.ReSharper.GlobalTools
64-
65-
- name: Create dummy tarball
66-
shell: pwsh
67-
run: echo $null >> Launcher\Launcher-Appx\nixos.wsl
68-
69-
- name: Run InspectCode 🔍
70-
shell: pwsh
71-
run: jb inspectcode --build -f=sarif -o="report.json" .\Launcher\Launcher.sln
72-
73-
- name: Print Report 📋
74-
shell: pwsh
75-
run: |
76-
$(cat .\report.json | ConvertFrom-Json).runs[0].results | % {
77-
$level = "warning"
78-
if ($_.level -eq "note") { $level = "notice" }
79-
$loc = $_.locations[0].physicalLocation
80-
Write-Output "::${level} file=Launcher/$($loc.artifactLocation.uri),line=$($loc.region.startLine),endLine=$($loc.region.endLine),title=$($_.ruleId)::$($_.message.text)"
81-
}

.github/workflows/run_package.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)