From 49b5d3f452b570923b5308974b017058b72253f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillem=20C=C3=B3rdoba?= Date: Thu, 5 Sep 2024 21:15:37 +0200 Subject: [PATCH] Update release-tauri-app.yaml --- .github/workflows/release-tauri-app.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-tauri-app.yaml b/.github/workflows/release-tauri-app.yaml index 2a6715a3..5713cf08 100644 --- a/.github/workflows/release-tauri-app.yaml +++ b/.github/workflows/release-tauri-app.yaml @@ -83,22 +83,26 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks out a copy of your repository on the ubuntu-latest machine - uses: actions/checkout@v2 - + - name: Install nix + if: matrix.platform != 'windows-latest' uses: cachix/install-nix-action@v27 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} nix_path: nixpkgs=channel:nixos-24.05 - uses: cachix/cachix-action@v15 + if: matrix.platform != 'windows-latest' with: name: holochain-ci - uses: cachix/cachix-action@v15 + if: matrix.platform != 'windows-latest' with: name: holochain-open-dev - uses: cachix/cachix-action@v15 + if: matrix.platform != 'windows-latest' with: name: darksoil-studio @@ -141,11 +145,6 @@ jobs: - name: Install and prepare run: | npm install - - - name: build the app in nix to work around sysroot issue building tx5 - if: matrix.platform == 'macos-latest' - run: | - nix develop --command bash -c "cargo build --bins --features tauri/custom-protocol,tauri/native-tls --release" - name: Print version run: | @@ -162,6 +161,11 @@ jobs: fileName: 'relay.happ' out-file-path: 'workdir/' + - name: build the app in nix to work around sysroot issue building tx5 + if: matrix.platform == 'macos-latest' + run: | + nix develop --command bash -c "npm run build -w ui && cargo build --bins --features tauri/custom-protocol,tauri/native-tls --release" + - name: build the app uses: tauri-apps/tauri-action@v0 env: