Skip to content

Commit b503096

Browse files
authored
Create ci.yml
1 parent ed10f90 commit b503096

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
# This workflow will run for any pull request or pushed commit
4+
on: [push, pull_request]
5+
6+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
7+
jobs:
8+
# This workflow contains a single job called "flatpak"
9+
flatpak:
10+
# The type of runner that the job will run on
11+
runs-on: ubuntu-latest
12+
13+
# This job runs in a special container designed for building Flatpaks for AppCenter
14+
container:
15+
image: ghcr.io/elementary/flatpak-platform/runtime:6
16+
options: --privileged
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
# Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it
21+
- uses: actions/checkout@v2
22+
23+
# Builds your flatpak manifest using the Flatpak Builder action
24+
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
25+
with:
26+
# This is the name of the Bundle file we're building and can be anything you like
27+
bundle: Minderflatpak
28+
# This uses your app's RDNN ID
29+
manifest-path: com.github.phase1geo.minder.yml
30+
31+
# You can automatically run any of the tests you've created as part of this workflow
32+
run-tests: true
33+
34+
# These lines specify the location of the elementary Runtime and Sdk
35+
repository-name: appcenter
36+
repository-url: https://flatpak.elementary.io/repo.flatpakrepo
37+
cache-key: "flatpak-builder-${{ github.sha }}"

0 commit comments

Comments
 (0)