ci: add manual sign for appimage artifact (#5254)
This commit is contained in:
parent
57ad0894ab
commit
37d72c3869
@ -162,6 +162,10 @@ jobs:
|
|||||||
echo $APP_IMAGE
|
echo $APP_IMAGE
|
||||||
rm -f $APP_IMAGE
|
rm -f $APP_IMAGE
|
||||||
./appimagetool ./src-tauri/target/release/bundle/appimage/Jan-${{ inputs.channel }}.AppDir $APP_IMAGE
|
./appimagetool ./src-tauri/target/release/bundle/appimage/Jan-${{ inputs.channel }}.AppDir $APP_IMAGE
|
||||||
|
yarn tauri signer sign \
|
||||||
|
--private-key "$TAURI_SIGNING_PRIVATE_KEY" \
|
||||||
|
--password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" \
|
||||||
|
"$APP_IMAGE"
|
||||||
else
|
else
|
||||||
cp ./src-tauri/resources/bin/bun ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/bin/bun
|
cp ./src-tauri/resources/bin/bun ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/bin/bun
|
||||||
mkdir -p ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/lib/Jan/binaries/engines
|
mkdir -p ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/lib/Jan/binaries/engines
|
||||||
@ -172,6 +176,10 @@ jobs:
|
|||||||
echo $APP_IMAGE
|
echo $APP_IMAGE
|
||||||
rm -f $APP_IMAGE
|
rm -f $APP_IMAGE
|
||||||
./appimagetool ./src-tauri/target/release/bundle/appimage/Jan.AppDir $APP_IMAGE
|
./appimagetool ./src-tauri/target/release/bundle/appimage/Jan.AppDir $APP_IMAGE
|
||||||
|
yarn tauri signer sign \
|
||||||
|
--private-key "$TAURI_SIGNING_PRIVATE_KEY" \
|
||||||
|
--password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" \
|
||||||
|
"$APP_IMAGE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user