Merge branch 'v1.0.0-branch' #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Flatpak | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: List files in repository | |
run: | | |
echo "Listing files in the repository root:" | |
ls -al | |
- name: Set up Flatpak | |
run: | | |
sudo apt update | |
sudo apt install -y flatpak flatpak-builder | |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
- name: Install Freedesktop SDK | |
run: | | |
flatpak install -y flathub org.freedesktop.Sdk//23.08 | |
flatpak install -y flathub org.freedesktop.Platform//23.08 | |
- name: Verify Flatpak Installation | |
run: | | |
flatpak --version | |
flatpak-builder --version | |
- name: Build Flatpak | |
run: | | |
flatpak-builder --user --install --force-clean build-dir com.maxizamorano.photopea-no-ads.yml | |
- name: Run Flatpak Application | |
run: | | |
flatpak run com.maxizamorano.photopea-no-ads |