mirror of
https://github.com/VirtualDrivers/Virtual-Display-Driver.git
synced 2026-10-21 14:12:27 -05:00
Action Tweak
Action tweak
This commit is contained in:
1 file changed
+39
-4
@@ -89,11 +89,46 @@ jobs:
|
||||
with:
|
||||
name: Signed-Driver-${{ matrix.configuration }}-${{ matrix.platform }}
|
||||
path: |
|
||||
SignedArtifacts\MttVDD.dll
|
||||
SignedArtifacts\MttVDD.inf
|
||||
SignedArtifacts\mttvdd.cat
|
||||
SignedArtifacts\vdd_settings.xml
|
||||
${{ vars.SIGNPATH_OUTPUT_DIR }}\MttVDD.dll
|
||||
${{ vars.SIGNPATH_OUTPUT_DIR }}\MttVDD.inf
|
||||
${{ vars.SIGNPATH_OUTPUT_DIR }}\mttvdd.cat
|
||||
${{ vars.SIGNPATH_OUTPUT_DIR }}\vdd_settings.xml
|
||||
|
||||
- name: Prepare Setup Repository
|
||||
run: |
|
||||
git clone https://${{ secrets.READ_REPO }}@github.com/VirtualDisplay/vdd-innosetupscript.git inno-setup
|
||||
|
||||
- name: Prepare Setup
|
||||
run: |
|
||||
copy "${{ vars.SIGNPATH_OUTPUT_DIR }}\*" inno-setup\input\
|
||||
$platform = "${{ matrix.platform }}"
|
||||
if ($platform -eq 'ARM64') {
|
||||
(Get-Content "inno-setup\Setup.iss") |
|
||||
ForEach-Object { $_ -replace 'x64compatible', 'arm64' } |
|
||||
Set-Content "inno-setup\Setup.iss"
|
||||
|
||||
(Get-Content "inno-setup\Setup.iss") |
|
||||
ForEach-Object { $_ -replace '-x64', '-arm64' } |
|
||||
Set-Content "inno-setup\Setup.iss"
|
||||
|
||||
(Get-Content "inno-setup\Setup.iss") |
|
||||
ForEach-Object { $_ -replace '1.0.0', '${{ env.RELEASE_TAG }}' } |
|
||||
Set-Content "inno-setup\Setup.iss"
|
||||
}
|
||||
|
||||
- name: Compile Installer
|
||||
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
|
||||
with:
|
||||
path: inno-setup\Setup.iss
|
||||
options: /O+
|
||||
|
||||
- name: Upload Installer as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Installer-${{ matrix.configuration }}-${{ matrix.platform }}
|
||||
path: inno-setup\output\*.exe
|
||||
|
||||
|
||||
celebrate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in new issue
Block a user