Overwrite existing appimage
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -123,16 +123,20 @@ jobs:
|
|||||||
gpg_private_key: ${{ secrets.APPIMAGE_GPG_PRIVATE_KEY }}
|
gpg_private_key: ${{ secrets.APPIMAGE_GPG_PRIVATE_KEY }}
|
||||||
passphrase: ${{ secrets.APPIMAGE_GPG_PRIVATE_KEY_PASSPHRASE }}
|
passphrase: ${{ secrets.APPIMAGE_GPG_PRIVATE_KEY_PASSPHRASE }}
|
||||||
|
|
||||||
- name: Generate signed AppImage
|
- name: Generate signed AppImage over existing one
|
||||||
if: matrix.os == 'ubuntu-20.04'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
env:
|
env:
|
||||||
APPIMAGETOOL_SIGN_PASSPHRASE: ${{ secrets.APPIMAGE_GPG_PRIVATE_KEY_PASSPHRASE }}
|
APPIMAGETOOL_SIGN_PASSPHRASE: ${{ secrets.APPIMAGE_GPG_PRIVATE_KEY_PASSPHRASE }}
|
||||||
|
VERSION_NO_V: ${{ needs.build-test-web.outputs.version }}
|
||||||
run: |
|
run: |
|
||||||
gpg -K
|
gpg -K
|
||||||
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
|
APPIMAGE_TOOL=appimagetool-x86_64.AppImage
|
||||||
chmod a+x appimagetool-x86_64.AppImage
|
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/$APPIMAGE_TOOL
|
||||||
./appimagetool-x86_64.AppImage --sign src-tauri/target/release/bundle/appimage/kittycad-modeling-app.AppDir/
|
chmod a+x $APPIMAGE_TOOL
|
||||||
|
pushd src-tauri/target/release/bundle/appimage
|
||||||
|
./$APPIMAGE_TOOL --sign kittycad-modeling-app.AppDir kittycad-modeling-app_${VERSION_NO_V}_amd64.AppImage
|
||||||
ls -l
|
ls -l
|
||||||
|
popd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user