-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (30 loc) · 1.44 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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: bilelmoussaoui/flatpak-github-actions:gnome-45
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: Gradebook.flatpak
# This uses your app's RDNN ID
manifest-path: io.github.leolost2605.gradebook.json
# 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: flathub
repository-url: https://dl.flathub.org/repo/flathub.flatpakrepo
cache-key: "flatpak-builder-${{ github.sha }}"