mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-29 15:26:05 +02:00
chore: use bash on windows build
This commit is contained in:
@@ -73,6 +73,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Copy nodecar binary to Tauri binaries
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p src-tauri/binaries
|
||||
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
|
||||
|
||||
@@ -119,6 +119,7 @@ jobs:
|
||||
pnpm run ${{ matrix.nodecar_script }}
|
||||
|
||||
- name: Copy nodecar binary to Tauri binaries
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p src-tauri/binaries
|
||||
if [[ "${{ matrix.platform }}" == "windows-latest" ]]; then
|
||||
|
||||
@@ -10,28 +10,7 @@ env:
|
||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||
|
||||
jobs:
|
||||
# Wait for linting jobs to complete first
|
||||
wait-for-linting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Wait for Rust linting to complete
|
||||
uses: lewagon/wait-on-check-action@v1.3.4
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
check-name: "Lint Rust"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
wait-interval: 10
|
||||
|
||||
- name: Wait for JavaScript linting to complete
|
||||
uses: lewagon/wait-on-check-action@v1.3.4
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
check-name: "Lint Node.js"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
wait-interval: 10
|
||||
|
||||
rolling-release:
|
||||
needs: wait-for-linting
|
||||
permissions:
|
||||
contents: write
|
||||
strategy:
|
||||
@@ -88,6 +67,7 @@ jobs:
|
||||
pnpm run ${{ matrix.nodecar_script }}
|
||||
|
||||
- name: Copy nodecar binary to Tauri binaries
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p src-tauri/binaries
|
||||
cp nodecar/dist/nodecar src-tauri/binaries/nodecar-${{ matrix.target }}
|
||||
|
||||
Reference in New Issue
Block a user