From 7da88ea9c4ed417b47e2b481285c74e760bac9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A6Ltorio?= Date: Fri, 18 Oct 2024 16:15:44 +0200 Subject: [PATCH] wip windows refactor --- .github/workflows/windows.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b2a27383..88387704 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,13 +60,12 @@ jobs: - name: Build continue-on-error: true - shell: cmd + shell: bash run: | cargo update -p sctgdesk-api-server - set "DATABASE_URL=sqlite://%CD%/db_v2.sqlite3" - set "DATABASE_URL=sqlite://%CD%/db_v2.sqlite3" && cargo build --release --target ${{ matrix.job.arch }}-pc-windows-msvc - cd target\${{ matrix.job.arch }}-pc-windows-msvc\release - 7z a -tzip /tmp/windows_${{ matrix.job.arch }}_${{ github.event.release.tag_name }}.zip hbbs.exe hbbr.exe rustdesk-utils.exe + DATABASE_URL=sqlite://$(pwd)/db_v2.sqlite3 cargo build --target=${{ matrix.job.arch }} --release + cd target/${{ matrix.job.arch }}-pc-windows-msvc/release + 7z a -tzip /tmp/windows_c_${{ github.event.release.tag_name }}.zip hbbs.exe hbbr.exe rustdesk-utils.exe - name: Attest artifacts uses: actions/attest-build-provenance@v1