feat: Add Gitea CI/CD release workflow, implement DM list component with user search, and include screenshare viewer leave sound.
Some checks failed
Build and Release / build-and-release (push) Failing after 6m44s
Some checks failed
Build and Release / build-and-release (push) Failing after 6m44s
This commit is contained in:
@@ -14,12 +14,28 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Wrap flatpak-builder for Docker compatibility
|
||||
- name: Setup Flatpak wrappers for Docker
|
||||
run: |
|
||||
# Wrap flatpak: skip 'update' (runtimes are pre-installed in image)
|
||||
mv /usr/bin/flatpak /usr/bin/flatpak.real
|
||||
cat > /usr/bin/flatpak << 'WRAPPER'
|
||||
#!/bin/bash
|
||||
if [ "$1" = "update" ]; then
|
||||
echo "Skipping flatpak update (runtimes pre-installed in image)"
|
||||
exit 0
|
||||
fi
|
||||
exec /usr/bin/flatpak.real "$@"
|
||||
WRAPPER
|
||||
chmod +x /usr/bin/flatpak
|
||||
|
||||
# Wrap flatpak-builder: inject --disable-rofiles-fuse for Docker
|
||||
mv /usr/bin/flatpak-builder /usr/bin/flatpak-builder.real
|
||||
printf '#!/bin/bash\nexec /usr/bin/flatpak-builder.real --disable-rofiles-fuse "$@"\n' > /usr/bin/flatpak-builder
|
||||
chmod +x /usr/bin/flatpak-builder
|
||||
|
||||
# Add user remote as fallback in case system runtimes aren't found
|
||||
flatpak.real --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
- name: Cache npm and Electron
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user