Skip to content

Commit 6525f51

Browse files
update action
1 parent eac4a22 commit 6525f51

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
- name: Setup MSBuild.exe
2626
uses: microsoft/setup-msbuild@v1.0.2
2727

28+
- name: Get Application Version
29+
id: get_version
30+
uses: battila7/get-version-action@v2
31+
2832
- name: Restore the application
2933
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
3034
env:
@@ -38,11 +42,20 @@ jobs:
3842
Appx_Package_Build_Mode: StoreUpload
3943
Configuration: ${{ matrix.configuration }}
4044

41-
- name: Upload Artifact
45+
- name: Upload Artifact 1
4246
uses: svenstaro/upload-release-action@v2
4347
with:
4448
repo_token: ${{ secrets.GITHUB_TOKEN }}
4549
file: bin\Release\net471\VirtualDesktopTimecodeServer.dll
46-
asset_name: VirtualDesktopTimecodeServer.dll
50+
asset_name: VirtualDesktopTimecodeServer_${{ steps.get_version.outputs.version }}.dll
51+
tag: ${{ github.ref }}
52+
overwrite: true
53+
54+
- name: Upload Artifact 2
55+
uses: svenstaro/upload-release-action@v2
56+
with:
57+
repo_token: ${{ secrets.GITHUB_TOKEN }}
58+
file: inject.bat
59+
asset_name: inject_${{ steps.get_version.outputs.version }}.bat
4760
tag: ${{ github.ref }}
4861
overwrite: true

0 commit comments

Comments
 (0)