Skip to content

Commit 4c8b018

Browse files
committed
upload and download for release workflow
1 parent 088c0bd commit 4c8b018

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/release.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,25 @@ jobs:
1717
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=RelWithDebInfo
1818
- name: Build and package
1919
run: cmake --build build --config RelWithDebInfo --target package
20-
20+
- name: Upload ZIP as Artifact
21+
uses: actions/upload-artifact@v2
22+
with:
23+
name: easy-debug-view-zip
24+
path: build/easy-debug-view.zip
25+
2126
release:
2227
name: Release
2328
runs-on: windows-latest
2429
needs: build
2530
steps:
31+
- name: Download ZIP Artifact
32+
uses: actions/download-artifact@v2
33+
with:
34+
name: easy-debug-view-zip
35+
path: build
36+
2637
- name: Release
2738
uses: softprops/action-gh-release@v2
2839
with:
2940
draft: true
30-
files: ${{github.workspace}}/build/easy-debug-view.zip
41+
files: build/easy-debug-view.zip

0 commit comments

Comments
 (0)