WORKLFOW: sudo restored

This commit is contained in:
XargonWan 2022-06-06 15:12:49 +02:00
parent 77e6ab8510
commit 027034ae53

View file

@ -52,15 +52,15 @@ jobs:
git pull git pull
git submodule init git submodule init
git submodule update git submodule update
add-apt-repository ppa:alexlarsson/flatpak sudo add-apt-repository ppa:alexlarsson/flatpak
apt-get update sudo apt-get update
apt install flatpak flatpak-builder p7zip-full sudo apt install flatpak flatpak-builder p7zip-full
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13 sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
- name: Build flatpak - name: Build flatpak
run: | run: |
flatpak-builder --build-only --user --force-clean --repo=${GITHUB_WORKSPACE}/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml sudo flatpak-builder --build-only --user --force-clean --repo=${GITHUB_WORKSPACE}/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
# - name: Compress cache # - name: Compress cache
# run: | # run: |
@ -127,8 +127,8 @@ jobs:
- name: Create Bundle - name: Create Bundle
run: | run: |
flatpak-builder --user --force-clean --repo=${GITHUB_WORKSPACE}/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml sudo flatpak-builder --user --force-clean --repo=${GITHUB_WORKSPACE}/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
flatpak build-bundle $GITHUB_WORKSPACE/local RetroDECK.flatpak net.retrodeck.retrodeck sudo flatpak build-bundle $GITHUB_WORKSPACE/local RetroDECK.flatpak net.retrodeck.retrodeck
# - name: Extract branch name # - name: Extract branch name
# shell: bash # shell: bash