Skip to content

Commit bb12757

Browse files
authored
Update main.yml
1 parent 49b8adf commit bb12757

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ jobs:
3333
cd _build
3434
& cmake --build . --config RelWithDebInfo --parallel
3535
36+
- name: Upload Build Artifacts
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: ectool
40+
path: |
41+
_build/src/RelWithDebInfo/ectool.exe
42+
_build/src/RelWithDebInfo/ectool.pdb
43+
44+
3645
- name: Upload Release AssetBuild Artifacts
3746
uses: actions/upload-release-asset@v4
3847
with:
@@ -41,3 +50,15 @@ jobs:
4150
_build/src/RelWithDebInfo/ectool.exe
4251
_build/src/RelWithDebInfo/ectool.pdb
4352
53+
- name: upload windows artifact
54+
uses: actions/upload-release-asset@v1
55+
env:
56+
GITHUB_TOKEN: ${{ github.token }}
57+
with:
58+
upload_url: ${{ steps.create_release.outputs.upload_url }}
59+
asset_path: |
60+
_build/src/RelWithDebInfo/ectool.exe
61+
_build/src/RelWithDebInfo/ectool.pdb
62+
asset_name: ectool.windows-amd64.zip
63+
asset_content_type: application/zip
64+

0 commit comments

Comments
 (0)