This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
feat: Improve wording in preferences #103
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: Repo | |
on: | |
# Rebuild once a day | |
#schedule: | |
# - cron: "0 0 * * *" | |
push: | |
workflow_dispatch: | |
jobs: | |
flatter: | |
name: Flatter | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/andyholmes/flatter/gnome:master | |
options: --privileged | |
strategy: | |
matrix: | |
arch: [x86_64, aarch64] | |
fail-fast: false | |
# Only one job at a time can use the shared repository cache | |
max-parallel: 1 | |
steps: | |
# Checkout a repository with Flatpak manifests | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
submodules: recursive | |
# See "Multiple Architectures" below | |
- name: Setup QEMU | |
if: ${{ matrix.arch == 'aarch64' }} | |
id: qemu | |
uses: docker/[email protected] | |
with: | |
platforms: arm64 | |
# See "GPG Signing" below | |
- name: Setup GPG | |
id: gpg | |
uses: crazy-max/[email protected] | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
- name: Build | |
uses: andyholmes/flatter@main | |
with: | |
files: | | |
build-aux/flatpak/com.github.GradienceTeam.Gradience.Devel.json | |
arch: ${{ matrix.arch }} | |
gpg-sign: ${{ steps.gpg.outputs.fingerprint }} | |
upload-bundles: true | |
upload-pages-artifact: true | |
upload-pages-includes: | | |
repo/default.css | |
repo/index.html | |
# See "Github Pages" below | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
needs: flatter | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: GitHub Pages | |
id: deployment | |
uses: actions/[email protected] |