diff --git a/.github/workflows/pack-tauri.yml b/.github/workflows/pack-tauri.yml index 5dfe2194..a7698e32 100644 --- a/.github/workflows/pack-tauri.yml +++ b/.github/workflows/pack-tauri.yml @@ -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"