Merge branch 'v1.0.0-branch' #2
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: Set up Flatpak | |
run: | | |
sudo apt update | |
sudo apt install -y flatpak flatpak-builder | |
- name: Add Flathub remote | |
run: | | |
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
- name: Build Flatpak | |
run: | | |
flatpak-builder --user --install --force-clean build-dir com.maxizamorano.photopea-no-ads.yaml | |
- name: Run Flatpak Application | |
run: | | |
flatpak run com.maxizamorano.photopea-no-ads |