mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-06 13:29:50 +01:00
Issue #189: Podepsaný AppImage
This commit is contained in:
parent
7e4a4d78e3
commit
b246a1325b
17
.github/workflows/LinuxInstall.yml
vendored
17
.github/workflows/LinuxInstall.yml
vendored
@ -17,7 +17,18 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libxcb-cursor0
|
sudo apt-get install -y libxcb-cursor0
|
||||||
sudo apt-get install -y libspeechd2
|
sudo apt-get install -y libspeechd2
|
||||||
|
sudo apt-get install -y gnupg wget
|
||||||
|
wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||||
|
chmod +x appimagetool-x86_64.AppImage
|
||||||
|
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
|
||||||
|
|
||||||
|
- name: Import PGP private key
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.PGP_PRIVATE_KEY }}" | gpg --batch --import
|
||||||
|
echo "${{ secrets.PGP_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --pinentry-mode loopback --sign-key "${{ secrets.PGP_KEY_ID }}"
|
||||||
|
env:
|
||||||
|
GNUPGHOME: /home/runner/.gnupg
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -96,6 +107,10 @@ jobs:
|
|||||||
cp install_appimage/usr/share/icons/hicolor/scalable/apps/io.github.JakubMelka.Pdf4qt.svg install_appimage/io.github.JakubMelka.Pdf4qt.svg
|
cp install_appimage/usr/share/icons/hicolor/scalable/apps/io.github.JakubMelka.Pdf4qt.svg install_appimage/io.github.JakubMelka.Pdf4qt.svg
|
||||||
./deploy.AppImage install_appimage/usr/share/applications/io.github.JakubMelka.Pdf4qt.desktop -appimage -executable-dir=install_appimage/usr/bin -always-overwrite -extra-plugins=iconengines,imageformats,texttospeech
|
./deploy.AppImage install_appimage/usr/share/applications/io.github.JakubMelka.Pdf4qt.desktop -appimage -executable-dir=install_appimage/usr/bin -always-overwrite -extra-plugins=iconengines,imageformats,texttospeech
|
||||||
|
|
||||||
|
- name: Sign AppImage
|
||||||
|
run: |
|
||||||
|
appimagetool --sign --sign-key "${{ secrets.PGP_KEY_ID }}" ./pdf4qt/build/*.AppImage
|
||||||
|
|
||||||
- name: Upload AppImage package
|
- name: Upload AppImage package
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user