Skip to content

Commit

Permalink
rebase and update
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqimbasher committed Feb 10, 2025
1 parent c06005d commit 4a1e248
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 49 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pack-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
working-directory: "src/Apps/NetPad.Apps.App/ElectronHostHook"
run: npm install

- name: Package for Linux
- name: Package for Linux & Windows
working-directory: "src/Apps/NetPad.Apps.App"
run: |
dotnet restore
Expand All @@ -83,5 +83,7 @@ jobs:
src/Apps/NetPad.Apps.App/bin/Desktop/netpad-0.8.0-linux-x86_64.deb
src/Apps/NetPad.Apps.App/bin/Desktop/netpad-0.8.0-linux-x86_64.rpm
src/Apps/NetPad.Apps.App/bin/Desktop/netpad-0.8.0-linux-x86_64.pacman
src/Apps/NetPad.Apps.App/bin/Desktop/netpad-0.8.0-win-x64.exe
src/Apps/NetPad.Apps.App/bin/Desktop/netpad-0.8.0-win-x64.zip
retention-days: 1
if-no-files-found: warn
50 changes: 2 additions & 48 deletions .github/workflows/pack-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
include:
- platform: "macos-latest" # for Arm based macs (M1 and above).
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: "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: "--verbose -c src-tauri/tauri.conf.linux-x64.json5"
- platform: "windows-latest"
Expand Down Expand Up @@ -116,49 +116,3 @@ jobs:
projectPath: "src/Apps/NetPad.Apps.Shells.Tauri/TauriApp"
tauriScript: "npx tauri"
releaseId: ${{ needs.create-release.outputs.release_id }}

# - name: List build files
# working-directory: "src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target"
# run: |
# if [ "$RUNNER_OS" == "Linux" ]; then
# find -follow
# elif [ "$RUNNER_OS" == "Windows" ]; then
# dir /s /b /o:gn
# else
# find -L
# fi
# shell: bash

# - name: 'Process Artifact Paths'
# id: process_artifacts
# run: |
# VAL=${{ steps.tauri.outputs.artifactPaths }}' | jq -r '.[]'
# echo "paths=$VAL" >> "$GITHUB_OUTPUT"
# shell: bash
#
# - name: 'Upload Bundled Packages'
# uses: actions/upload-artifact@v4
# with:
# name: netpad_0.8.0.bundles
# path: ${{ steps.process_artifacts.outputs.paths }}
# retention-days: 1
# if-no-files-found: warn
#
# - name: 'Upload Standalone Package'
# uses: actions/upload-artifact@v4
# with:
# name: netpad_0.8.0.standalone
# path: |
# src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/NetPad\ vNext
# src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/resources
# retention-days: 1
# if-no-files-found: warn

#src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/bundle/deb/NetPad\ vNext_0.8.0_amd64.deb
#src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/bundle/appimage/NetPad\ vNext_0.8.0_amd64.AppImage
#src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/bundle/rpm/NetPad\ vNext-0.8.0-1.x86_64.rpm

# tauri action returns this, use it in upload artifact
#/home/runner/work/NetPad/NetPad/src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/bundle/deb/NetPad vNext_0.8.0_amd64.deb
#/home/runner/work/NetPad/NetPad/src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/bundle/rpm/NetPad vNext-0.8.0-1.x86_64.rpm
#/home/runner/work/NetPad/NetPad/src/Apps/NetPad.Apps.Shells.Tauri/TauriApp/src-tauri/target/release/bundle/appimage/NetPad vNext_0.8.0_amd64.AppImage

0 comments on commit 4a1e248

Please sign in to comment.