@@ -17,12 +17,12 @@ jobs:
1717 runs-on : ubuntu-latest
1818 permissions :
1919 contents : write
20- id-token : write # Required for provenance
20+ id-token : write
2121 steps :
2222 - name : Checkout repository
2323 uses : actions/checkout@v4
2424 with :
25- fetch-depth : 0 # Full history for tag verification
25+ fetch-depth : 0
2626
2727 - name : Verify signed tag
2828 env :
9999 echo "Warning: No Windows installer found!"
100100 fi
101101
102- - name : Find Windows Installer # Corrected indentation
102+ - name : Find Windows Installer
103103 id : find_installer
104104 run : |
105105 INSTALLER_PATH=$(find release-artifacts -name "MPSS_Setup_*.exe" -o -name "*.exe" | grep -i "setup" | head -1)
@@ -114,11 +114,10 @@ jobs:
114114 find release-artifacts -name "*.exe" || echo "No .exe files found"
115115 exit 1
116116 fi
117- # Removed incorrect sigstore/gh-action-sigstore step
118- - name : Install cosign # Corrected indentation
119- uses : sigstore/cosign-installer@v3.4.0 # Use the same version as in build-verification.yml
117+ - name : Install cosign
118+ uses : sigstore/cosign-installer@v3.4.0
120119
121- - name : Sign Windows Installer with Cosign # Corrected indentation
120+ - name : Sign Windows Installer with Cosign
122121 id : sign_installer
123122 run : |
124123 INSTALLER_PATH="${{ steps.find_installer.outputs.path }}"
@@ -127,7 +126,7 @@ jobs:
127126 echo "Signature created at ${INSTALLER_PATH}.sig"
128127 echo "signature_path=${INSTALLER_PATH}.sig" >> $GITHUB_OUTPUT
129128
130- - name : Prepare verification information # Corrected indentation
129+ - name : Prepare verification information
131130 run : |
132131 # Ensure verification-artifacts directory exists
133132 mkdir -p verification-info
@@ -221,28 +220,6 @@ jobs:
221220 echo "::warning:: Installer signature file not found at $INSTALLER_SIG_PATH"
222221 fi
223222 echo "Verification artifacts uploaded."
224-
225- # The Windows installer is now attached during 'gh release create',
226- # so the separate upload step below is removed.
227-
228- # Upload other installers if we have them (commented out for now)
229- # MACOS_DMG=$(find release-artifacts/macos-installers -name "*.dmg" | head -1)
230- # MACOS_PKG=$(find release-artifacts/macos-installers -name "*.pkg" | head -1)
231- # LINUX_APPIMAGE=$(find release-artifacts/linux-installers -name "*.AppImage" | head -1)
232- # LINUX_DEB=$(find release-artifacts/linux-installers -name "*.deb" | head -1)
233-
234- # if [ -n "$MACOS_DMG" ]; then
235- # gh release upload "v$VERSION" "$MACOS_DMG" --clobber
236- # fi
237- # if [ -n "$MACOS_PKG" ]; then
238- # gh release upload "v$VERSION" "$MACOS_PKG" --clobber
239- # fi
240- # if [ -n "$LINUX_APPIMAGE" ]; then
241- # gh release upload "v$VERSION" "$LINUX_APPIMAGE" --clobber
242- # fi
243- # if [ -n "$LINUX_DEB" ]; then
244- # gh release upload "v$VERSION" "$LINUX_DEB" --clobber
245- # fi
246223
247224 - name : Delete all workflow artifacts after release
248225 uses : geekyeggo/delete-artifact@v5
0 commit comments