diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index a960d98..ad40ca3 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -36,12 +36,12 @@ jobs: node-version: lts/* cache: npm - - name: Prepare template - run: node .github/scripts/prepare-template.mjs - - name: Install dependencies run: npm ci + - name: Prepare template + run: node .github/scripts/prepare-template.mjs + - uses: dtolnay/rust-toolchain@stable - uses: swatinem/rust-cache@v2 @@ -75,6 +75,12 @@ jobs: node-version: lts/* cache: npm + - name: Install dependencies + run: npm ci + + - name: Prepare template + run: node .github/scripts/prepare-template.mjs + - uses: actions/setup-java@v4 with: distribution: temurin @@ -93,12 +99,6 @@ jobs: with: workspaces: template/src-tauri -> target - - name: Prepare template - run: node .github/scripts/prepare-template.mjs - - - name: Install dependencies - run: npm ci - - name: Initialize Android project working-directory: template run: npm run tauri android init