diff --git a/.gitea/workflows/build-windows.yml b/.gitea/workflows/build-windows.yml index 0850551..0f0d39f 100644 --- a/.gitea/workflows/build-windows.yml +++ b/.gitea/workflows/build-windows.yml @@ -28,11 +28,11 @@ jobs: - uses: actions/checkout@v4 - name: Provision (idempotent — auto-runs if host not initialized) - shell: 'C:\Program Files\Git\bin\bash.exe --noprofile --norc -eo pipefail {0}' + shell: bash run: sh scripts/ci/provision-windows.sh - name: Compile (Flutter Windows) - shell: 'C:\Program Files\Git\bin\bash.exe --noprofile --norc -eo pipefail {0}' + shell: bash run: sh scripts/ci/compile-windows.sh "${{ inputs.ver || 'v1.0.4' }}" - name: Upload windows artifact diff --git a/.gitea/workflows/deploy-client.yml b/.gitea/workflows/deploy-client.yml index d796c2a..41d467d 100644 --- a/.gitea/workflows/deploy-client.yml +++ b/.gitea/workflows/deploy-client.yml @@ -122,11 +122,11 @@ jobs: - uses: actions/checkout@v4 - name: Provision (idempotent — auto-runs if host not initialized) - shell: 'C:\Program Files\Git\bin\bash.exe --noprofile --norc -eo pipefail {0}' + shell: bash run: sh scripts/ci/provision-windows.sh - name: Compile (Flutter Windows) - shell: 'C:\Program Files\Git\bin\bash.exe --noprofile --norc -eo pipefail {0}' + shell: bash run: sh scripts/ci/compile-windows.sh "${{ gitea.ref_name }}" - name: Upload windows artifacts