Skip to content

Commit

Permalink
Do the same for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle authored Sep 19, 2024
1 parent a6f86f3 commit 71c1ff6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Prepare for upload
run: |
mkdir upload
mv ./build/linux/x64/release/bundle ./upload/BlueMapGUI_${{ env.GITHUB_SHA_SHORT }}_Linux_x64/
mv ./build/linux/x64/release/bundle/ ./upload/BlueMapGUI_${{ env.GITHUB_SHA_SHORT }}_Linux_x64/
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -68,10 +68,13 @@ jobs:
- name: Build
run: flutter build windows --release --dart-define=commit=$env:GITHUB_SHA_SHORT

- run: tree
- name: Prepare for upload
run: |
New-Item -Path . -Name "upload" -ItemType "directory"
Move-Item -Path "./build/linux/x64/release/bundle/" -Destination "./upload/BlueMapGUI_${{ env.GITHUB_SHA_SHORT }}_Windows_x64/"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "windows_x64"
path: './build/windows/x64/runner/Release'
name: "BlueMapGUI_${{ env.GITHUB_SHA_SHORT }}_Windows_x64.zip"
path: './upload/'

0 comments on commit 71c1ff6

Please sign in to comment.