From 729d9d2e49407371047f62eeb3c4cfa93437f57a Mon Sep 17 00:00:00 2001 From: ranfdev Date: Mon, 4 Jan 2021 11:45:58 +0100 Subject: [PATCH] Replace NixOS CI with flatpak CI --- .github/workflows/build-flatpak.yml | 18 ++++++++++++++++++ .github/workflows/build-nixos.yml | 13 ------------- 2 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/build-flatpak.yml delete mode 100644 .github/workflows/build-nixos.yml diff --git a/.github/workflows/build-flatpak.yml b/.github/workflows/build-flatpak.yml new file mode 100644 index 0000000..3753f71 --- /dev/null +++ b/.github/workflows/build-flatpak.yml @@ -0,0 +1,18 @@ +on: + push: + branches: [master] + pull_request: +name: CI +jobs: + flatpak-builder: + name: "Flatpak Builder" + runs-on: ubuntu-latest + container: + image: docker.io/bilelmoussaoui/flatpak-github-actions + options: --privileged + steps: + - uses: actions/checkout@v2 + - uses: bilelmoussaoui/flatpak-github-actions@v2 + with: + bundle: "palette.flatpak" + manifest-path: "build-aux/com.ranfdev.GeopardDevel.json" diff --git a/.github/workflows/build-nixos.yml b/.github/workflows/build-nixos.yml deleted file mode 100644 index 9d8a86a..0000000 --- a/.github/workflows/build-nixos.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: "NixOS test" -on: - pull_request: - push: -jobs: - tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2.3.1 - - uses: cachix/install-nix-action@v11 - with: - nix_path: nixpkgs=channel:nixos-20.03 - - run: nix-build nix/default.nix