Skip to content

Commit

Permalink
linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqimbasher committed Feb 2, 2025
1 parent 18373c9 commit 711e8bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pack-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
with:
node-version: lts/*

- name: 🧲 Setup .NET 7
- name: 🧲 Setup .NET 8
uses: actions/[email protected]
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pack-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
args: "--target aarch64-apple-darwin -c src-tauri/tauri.conf.mac-arm64.json5"
#- platform: "macos-latest" # for Intel based macs.
# args: "--target x86_64-apple-darwin -c src-tauri/tauri.conf.mac-x64.json5"
#- platform: "ubuntu-22.04"
# args: "-c src-tauri/tauri.conf.linux-x64.json5"
- platform: "ubuntu-22.04"
args: "--verbose -c src-tauri/tauri.conf.linux-x64.json5"
- platform: "windows-latest"
args: "-c src-tauri/tauri.conf.win-x64.json5"

Expand All @@ -77,10 +77,10 @@ jobs:
with:
node-version: lts/*

- name: 🧲 setup .NET 7
- name: 🧲 setup .NET 8
uses: actions/[email protected]
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: setup Rust stable
uses: dtolnay/rust-toolchain@stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"beforeBuildCommand": "dotnet publish ../../NetPad.Apps.App/NetPad.Apps.App.csproj -r linux-x64 -c \"Release\" /p:PublishReadyToRun=true /p:PublishSingleFile=false /p:WebBuild=true --self-contained"
},
"bundle": {
"targets": ["rpm", "deb"],
"resources": {
"../../../NetPad.Apps.App/bin/Release/net6.0/linux-x64/publish": "resources/netpad-server"
}
Expand Down

0 comments on commit 711e8bf

Please sign in to comment.