Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

ci(signpath): make signed output search recursive in workflows

IGECT01a492f9537d
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 10dc3a44..d4d4a158 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -197,7 +197,7 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
run: |
$TAG = "${{ github.ref_name }}"
- $SIGNED_SETUP = Get-ChildItem "src-tauri/target/release/bundle/nsis-signed" -Filter "*.exe" -ErrorAction SilentlyContinue | Select-Object -First 1
+ $SIGNED_SETUP = Get-ChildItem "src-tauri/target/release/bundle/nsis-signed" -Filter "*.exe" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1
if ($SIGNED_SETUP) {
Write-Host "Found SignPath-signed setup installer: $($SIGNED_SETUP.FullName)"
if ($env:TAURI_SIGNING_PRIVATE_KEY) {
@@ -245,7 +245,7 @@ jobs:
run: |
$TAG = "${{ github.ref_name }}"
$VERSION = $TAG -replace '^v', ''
- $SIGNED_PORTABLE = Get-ChildItem "src-tauri/target/release/portable-signed" -Filter "*.exe" -ErrorAction SilentlyContinue | Select-Object -First 1
+ $SIGNED_PORTABLE = Get-ChildItem "src-tauri/target/release/portable-signed" -Filter "*.exe" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1
$SRC = if ($SIGNED_PORTABLE) { $SIGNED_PORTABLE.FullName } else { "src-tauri/target/release/omniget.exe" }
$DEST = "omniget_${VERSION}_x64-portable.exe"
if (Test-Path $SRC) {
diff --git a/.github/workflows/signpath-test.yml b/.github/workflows/signpath-test.yml
index df5672f8..11829af0 100644
--- a/.github/workflows/signpath-test.yml
+++ b/.github/workflows/signpath-test.yml
@@ -75,7 +75,7 @@ jobs:
- name: Verify Authenticode Signature
shell: pwsh
run: |
- $signed = Get-ChildItem "signed-output" -Filter "*.exe" | Select-Object -First 1
+ $signed = Get-ChildItem "signed-output" -Filter "*.exe" -Recurse | Select-Object -First 1
if (-not $signed) {
throw "No signed binary found in signed-output"
}
@@ -93,4 +93,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: signed-omniget-test-binary
- path: signed-output/*.exe
+ path: signed-output/**
+