forked from ge9/IddSampleDriver
-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Action tweak
- Loading branch information
Showing
1 changed file
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: | ||
|