Skip to content

Commit

Permalink
Setup github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
d-k-bo committed Oct 20, 2023
1 parent fe70639 commit 5b2c4bf
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-45
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: televido.flatpak
manifest-path: build-aux/de.k_bo.Televido.json
cache-key: flatpak-builder-${{ github.sha }}
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install meson
run: pipx install meson
- name: Create meson dist bundle
run: meson setup _build && meson dist -C _build --no-tests
- uses: softprops/action-gh-release@v1
with:
draft: true
files: _build/meson-dist/*

0 comments on commit 5b2c4bf

Please sign in to comment.