Skip to content

Commit

Permalink
Action Tweak
Browse files Browse the repository at this point in the history
Action tweak
  • Loading branch information
bud3699 authored Dec 19, 2024
2 parents 266b4a0 + 6c12536 commit a3564fb
Showing 1 changed file with 39 additions and 4 deletions.
43 changes: 39 additions & 4 deletions .github/workflows/Submit-To-SignPath.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a3564fb

Please sign in to comment.