Skip to content

Commit

Permalink
use windows style path
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Sep 25, 2024
1 parent ddf67de commit efc77f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
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 sctgdesk-api-server.exe
7z a -tzip \tmp\windows_${{ matrix.job.arch }}_${{ github.event.release.tag_name }}.zip sctgdesk-api-server.exe
dir \tmp
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -85,6 +86,6 @@ jobs:
export TAG_NAME=${TAG_NAME:-"nightly"}
echo $TAG_NAME
ls -l /tmp
mv /tmp/windows_*.zip /tmp/windows_${{ matrix.job.arch }}_${TAG_NAME}.zip
mv /tmp/windows_${{ matrix.job.arch }}_${{ github.event.release.tag_name }}.zip /tmp/windows_${{ matrix.job.arch }}_${TAG_NAME}.zip
gh release create $TAG_NAME -t "$TAG_NAME" -n "$TAG_NAME" || true
gh release upload $TAG_NAME /tmp/windows_${{ matrix.job.arch }}_${TAG_NAME}.zip --clobber

0 comments on commit efc77f6

Please sign in to comment.