Skip to content

Commit

Permalink
fix: release include file
Browse files Browse the repository at this point in the history
  • Loading branch information
Plat committed Sep 14, 2022
1 parent 0466702 commit 32dae2a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
type: 'zip'
filename: Real-CUGAN-GUI-${{ github.ref_name }}-windows.zip
directory: build/windows/runner/Release
exclusions: 'data *.dll'
- name: Windows Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -52,16 +53,20 @@ jobs:
run: flutter config --enable-macos-desktop
- name: Build artifacts
run: flutter build macos --release
- name: Mkdir release dir
run: mkdir Release
- name: Move target
run: mv build/macos/Build/Products/Release/Real-CUGAN-GUI.app Release/
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: Real-CUGAN-GUI-${{ github.ref_name }}-macos.zip
directory: build/macos/Build/Products/Release
directory: Release
- name: macOS Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/macos/Build/Products/Release/Real-CUGAN-GUI-${{ github.ref_name }}-macos.zip
files: Release/Real-CUGAN-GUI-${{ github.ref_name }}-macos.zip

0 comments on commit 32dae2a

Please sign in to comment.