Skip to content

Commit 11bb8e1

Browse files
committed
i quit im not auto building flatpak
1 parent 1db1570 commit 11bb8e1

File tree

3 files changed

+5
-29
lines changed

3 files changed

+5
-29
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,4 @@ jobs:
3939
uses: actions/upload-artifact@v4
4040
with:
4141
name: app-linux
42-
path: dist/*.AppImage
43-
44-
flatpak:
45-
needs: build
46-
runs-on: ubuntu-latest
47-
container:
48-
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
49-
options: --privileged
50-
steps:
51-
- name: Checkout repository
52-
uses: actions/checkout@v4
53-
54-
- name: Build Flatpak
55-
run: |
56-
./flatpak.sh
57-
58-
- name: Upload Flatpak
59-
uses: actions/upload-artifact@v4
60-
with:
61-
name: app-flatpak
62-
path: |
63-
webmc.flatpak
64-
install-flatpak.sh
42+
path: dist/*.AppImage

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
[**macOS**](https://nightly.link/WebMCDevelopment/WebMCDesktop/workflows/build/main/app-macOS.zip)
66

7-
[**Linux**](https://nightly.link/WebMCDevelopment/WebMCDesktop/workflows/build/main/app-linux.zip)
8-
9-
[**Flatpak**](https://nightly.link/WebMCDevelopment/WebMCDesktop/workflows/build/main/app-flatpak.zip)
7+
[**Linux**](https://nightly.link/WebMCDevelopment/WebMCDesktop/workflows/build/main/app-linux.zip)

flatpak.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ if ! [ -d "dist/linux-unpacked" ]; then
99
fi
1010

1111
if ! command -v flatpak &> /dev/null; then
12-
apt update
13-
apt install -y flatpak flatpak-builder
12+
sudo apt update
13+
sudo apt install -y flatpak flatpak-builder
1414
fi
1515

1616
if ! command -v convert &> /dev/null; then
17-
apt install -y imagemagick
17+
sudo apt install -y imagemagick
1818
fi
1919

2020
if ! flatpak remotes | grep -q flathub; then

0 commit comments

Comments
 (0)