Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit 32dae2a

Browse files
author
Plat
committed
fix: release include file
1 parent 0466702 commit 32dae2a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
type: 'zip'
2929
filename: Real-CUGAN-GUI-${{ github.ref_name }}-windows.zip
3030
directory: build/windows/runner/Release
31+
exclusions: 'data *.dll'
3132
- name: Windows Release
3233
uses: softprops/action-gh-release@v1
3334
if: startsWith(github.ref, 'refs/tags/')
@@ -52,16 +53,20 @@ jobs:
5253
run: flutter config --enable-macos-desktop
5354
- name: Build artifacts
5455
run: flutter build macos --release
56+
- name: Mkdir release dir
57+
run: mkdir Release
58+
- name: Move target
59+
run: mv build/macos/Build/Products/Release/Real-CUGAN-GUI.app Release/
5560
- name: Archive Release
5661
uses: thedoctor0/zip-release@master
5762
with:
5863
type: 'zip'
5964
filename: Real-CUGAN-GUI-${{ github.ref_name }}-macos.zip
60-
directory: build/macos/Build/Products/Release
65+
directory: Release
6166
- name: macOS Release
6267
uses: softprops/action-gh-release@v1
6368
if: startsWith(github.ref, 'refs/tags/')
6469
env:
6570
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6671
with:
67-
files: build/macos/Build/Products/Release/Real-CUGAN-GUI-${{ github.ref_name }}-macos.zip
72+
files: Release/Real-CUGAN-GUI-${{ github.ref_name }}-macos.zip

0 commit comments

Comments
 (0)