Skip to content

Commit 4585c45

Browse files
committed
ci: 添加 d3d9.dll artifact 和 release asset
1 parent 9c60b4c commit 4585c45

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ jobs:
3737
- name: Build
3838
run: cargo build --release
3939

40-
- name: Upload artifact
40+
- name: Upload version.dll
4141
uses: actions/upload-artifact@v4
4242
with:
4343
name: version.dll
4444
path: target/i686-pc-windows-msvc/release/version.dll
4545

46+
- name: Upload d3d9.dll
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: d3d9.dll
50+
path: target/i686-pc-windows-msvc/release/d3d9.dll
51+
4652
release:
4753
if: startsWith(github.ref, 'refs/tags/v')
4854
needs: build
@@ -54,6 +60,12 @@ jobs:
5460
with:
5561
name: version.dll
5662

63+
- uses: actions/download-artifact@v4
64+
with:
65+
name: d3d9.dll
66+
5767
- uses: softprops/action-gh-release@v2
5868
with:
59-
files: version.dll
69+
files: |
70+
version.dll
71+
d3d9.dll

0 commit comments

Comments
 (0)