|
39 | 39 | clean-all: true |
40 | 40 |
|
41 | 41 | - name: Checkout |
42 | | - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
| 42 | + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
43 | 43 | with: |
44 | 44 | submodules: recursive |
45 | 45 |
|
@@ -110,21 +110,23 @@ jobs: |
110 | 110 | # variables |
111 | 111 | DESKTOP_FILE="${DESKTOP_FILE:-${APP_ID}.desktop}" |
112 | 112 | ICON_FILE="${ICON_FILE:-sunshine.png}" |
| 113 | + LINUXDEPLOY_GH="https://github.com/linuxdeploy/linuxdeploy" |
113 | 114 |
|
114 | 115 | # AppImage |
115 | 116 | # https://docs.appimage.org/packaging-guide/index.html |
116 | | - wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage |
| 117 | + wget -q "${LINUXDEPLOY_GH}/releases/download/continuous/linuxdeploy-x86_64.AppImage" |
117 | 118 | chmod +x linuxdeploy-x86_64.AppImage |
118 | 119 |
|
119 | | - # https://github.com/linuxdeploy/linuxdeploy-plugin-gtk |
120 | | - sudo apt-get install libgtk-3-dev librsvg2-dev -y |
121 | | - wget -q https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh |
122 | | - chmod +x linuxdeploy-plugin-gtk.sh |
123 | | - export DEPLOY_GTK_VERSION=3 |
| 120 | + # https://github.com/linuxdeploy/linuxdeploy-plugin-qt |
| 121 | + wget -q "${LINUXDEPLOY_GH}-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" |
| 122 | + chmod +x linuxdeploy-plugin-qt-x86_64.AppImage |
| 123 | + export QMAKE=/usr/lib/qt6/bin/qmake |
| 124 | + export EXTRA_QT_MODULES="svg;" |
| 125 | + "$QMAKE" -query QT_INSTALL_PLUGINS |
124 | 126 |
|
125 | 127 | ./linuxdeploy-x86_64.AppImage \ |
126 | 128 | --appdir ./AppDir \ |
127 | | - --plugin gtk \ |
| 129 | + --plugin qt \ |
128 | 130 | --executable ./sunshine \ |
129 | 131 | --icon-file "../$ICON_FILE" \ |
130 | 132 | --desktop-file "./$DESKTOP_FILE" \ |
@@ -162,7 +164,7 @@ jobs: |
162 | 164 |
|
163 | 165 | - name: Setup python |
164 | 166 | id: python |
165 | | - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
| 167 | + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 |
166 | 168 | with: |
167 | 169 | python-version: ${{ env.PYTHON_VERSION }} |
168 | 170 |
|
|
0 commit comments