Skip to content

Commit

Permalink
Add tauri action
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqimbasher committed Nov 13, 2024
1 parent bac3466 commit f22abe0
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/pack-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,22 @@ jobs:
- name: dotnet restore
run: dotnet restore

- name: 🔨 Build
- name: 🔨 build
run: dotnet build --no-restore

# - name: install frontend dependencies
# run: npm install
- name: install frontend dependencies (SPA)
working-directory: "src/Apps/NetPad.Apps.App/App"
run: npm install

- name: install frontend dependencies (Tauri)
working-directory: "src/Apps/NetPad.Apps.Shells.Tauri/TauriApp"
run: npm install

# If tagName and releaseId are omitted tauri-action will only build the app and won't try to upload any assets.
# - uses: tauri-apps/tauri-action@v0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# args: ${{ matrix.args }}
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: ${{ matrix.args }}
projectPath: "src/Apps/NetPad.Apps.Shells.Tauri/TauriApp"

0 comments on commit f22abe0

Please sign in to comment.