Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CI | ||
|
||
# This workflow will run for any pull request or pushed commit | ||
on: [push, pull_request] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "flatpak" | ||
flatpak: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# This job runs in a special container designed for building Flatpaks for AppCenter | ||
container: | ||
image: ghcr.io/elementary/flatpak-platform/runtime:6 | ||
options: --privileged | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Builds your flatpak manifest using the Flatpak Builder action | ||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3 | ||
with: | ||
# This is the name of the Bundle file we're building and can be anything you like | ||
bundle: Minderflatpak | ||
# This uses your app's RDNN ID | ||
manifest-path: com.github.phase1geo.minder.yml | ||
|
||
# You can automatically run any of the tests you've created as part of this workflow | ||
run-tests: true | ||
|
||
# These lines specify the location of the elementary Runtime and Sdk | ||
repository-name: appcenter | ||
repository-url: https://flatpak.elementary.io/repo.flatpakrepo | ||
cache-key: "flatpak-builder-${{ github.sha }}" |