File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,20 @@ jobs:
13
13
- name : Install Flutter
14
14
run : |
15
15
git submodule update --init --recursive
16
- - run : .flutter/bin/flutter.bat create --platforms=windows .
17
- - run : .flutter/bin/flutter.bat build windows --release
16
+
17
+ - name : Build for Windows
18
+ run : |
19
+ .flutter/bin/flutter.bat create --platforms=windows .
20
+ .flutter/bin/flutter.bat build windows --release
18
21
19
22
- name : Package Executable
20
- run : 7z a -r -sse "..\..\..\..\..\build\app\watermeter-release-amd64.zip" *
23
+ run : 7z a -r -sse "..\..\..\..\..\build\app\watermeter-windows- release-amd64.zip" *
21
24
working-directory : build\windows\x64\runner\Release
22
25
23
26
- name : Release
24
27
uses : softprops/action-gh-release@v1
25
28
with :
26
- files : build/app/watermeter-release-amd64.zip
29
+ files : build/app/watermeter-windows- release-amd64.zip
27
30
prerelease : false
28
- tag_name : ${{ steps.get_version.outputs.VERSION }}
31
+ tag_name : ${{ github.event.inputs.tag_name }}
29
32
token : ${{ secrets.RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments