Skip to content

Commit 834d249

Browse files
Update release workflow
1 parent 1e125c7 commit 834d249

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/create_release_binaries.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,23 @@ jobs:
2121
run: flutter doctor
2222
- name: Build Windows app
2323
run: flutter build windows
24-
24+
- name: Copy VC redistributables
25+
run: |
26+
Copy-Item (vswhere -latest -find 'VC\Redist\MSVC\*\x64\*\msvcp140.dll') .
27+
Copy-Item (vswhere -latest -find 'VC\Redist\MSVC\*\x64\*\vcruntime140.dll') .
28+
Copy-Item (vswhere -latest -find 'VC\Redist\MSVC\*\x64\*\vcruntime140_1.dll') .
29+
working-directory: ./build/windows/runner/Release
30+
- name: Create artifact
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: CCExtractor Flutter GUI Windows
34+
path: |
35+
./build/windows/runner/Release/*.exe
36+
./build/windows/runner/Release/*.dll
37+
./build/windows/runner/Release/data
38+
- name: Upload as asset
39+
uses: AButler/[email protected]
40+
with:
41+
files: 'artifacts/*'
42+
repo-token: ${{ secrets.GITHUB_TOKEN }}
2543

0 commit comments

Comments
 (0)