diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf4a1210..ba870488 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -642,7 +642,8 @@ jobs: - name: Flatten artifacts run: | mkdir -p staging - find artifacts -type f -exec cp {} staging/ \; + # Copy all files except those from unsigned Windows artifact directories + find artifacts -type f ! -path "*/windows-*-unsigned-*/*" -exec cp {} staging/ \; - name: Get version id: version @@ -712,7 +713,8 @@ jobs: - name: Flatten artifacts run: | mkdir -p staging - find artifacts -type f -exec cp {} staging/ \; + # Copy all files except those from unsigned Windows artifact directories + find artifacts -type f ! -path "*/windows-*-unsigned-*/*" -exec cp {} staging/ \; - name: Get version id: version