Skip to content

Commit 45e90dd

Browse files
committed
Update CI workflow to use raw URL for GTK plugin and ensure plugin discovery
- Changed the download link for the GTK plugin to use the raw GitHub URL for better reliability. - Added an export command to ensure the GTK plugin is found in the PATH during the CI workflow execution.
1 parent 94ec7d7 commit 45e90dd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ jobs:
141141
run: |
142142
set -euxo pipefail
143143
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
144-
wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/releases/download/continuous/linuxdeploy-plugin-gtk.sh
144+
wget -q https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
145145
chmod +x linuxdeploy-x86_64.AppImage linuxdeploy-plugin-gtk.sh
146+
# linuxdeploy locates plugins via PATH; ensure the gtk plugin here is found.
147+
export PATH="$PWD:$PATH"
146148
147149
mkdir -p AppDir/usr/bin AppDir/usr/share/applications AppDir/usr/share/icons/hicolor/256x256/apps
148150
cp "${{ matrix.binary-path }}" AppDir/usr/bin/mantle

0 commit comments

Comments
 (0)