From 5fa43240ef3451f2b2978532e4d3cd84a3eab3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Mon, 15 Nov 2021 16:30:04 +0100 Subject: [PATCH 1/5] Create build.yml --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6d96e1c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +on: + push: + tags: + - '*' +name: Build +jobs: + flatpak: + name: "Flatpak" + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08 + options: --privileged + steps: + - uses: actions/checkout@v2 + - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 + with: + bundle: palette.flatpak + manifest-path: org.gnome.zbrown.Palette.yml + cache-key: flatpak-builder-${{ github.sha }} + - uses: actions/setup-node@v2 + with: + node-version: 14 + - run: make install_build_deps From db9641c2fa15be0caedc0936ea012ee2d48ab139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Mon, 15 Nov 2021 16:32:48 +0100 Subject: [PATCH 2/5] Update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d96e1c..541408e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ on: - push: - tags: - - '*' + release: + types: [created] + workflow_dispatch: name: Build jobs: flatpak: From 6f06deea8a4f27a7edd93c05a0d4e48a6358a464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Mon, 15 Nov 2021 16:36:02 +0100 Subject: [PATCH 3/5] Update build.yml --- .github/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 541408e..d7600b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,11 +12,6 @@ jobs: options: --privileged steps: - uses: actions/checkout@v2 - - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 - with: - bundle: palette.flatpak - manifest-path: org.gnome.zbrown.Palette.yml - cache-key: flatpak-builder-${{ github.sha }} - uses: actions/setup-node@v2 with: node-version: 14 From a5117db06830afad5caf845d072785a2bb852eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Mon, 15 Nov 2021 16:39:44 +0100 Subject: [PATCH 4/5] Update build.yml --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7600b1..26475e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,18 +1,19 @@ +name: Build + on: release: types: [created] workflow_dispatch: -name: Build + jobs: flatpak: name: "Flatpak" runs-on: ubuntu-latest - container: - image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08 - options: --privileged steps: - - uses: actions/checkout@v2 + - name: checkout repo + uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 14 - - run: make install_build_deps + - name: build application + run: make install_build_deps From 3902ee945b4f49a6808e0b1de18c2d5dda239ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Mon, 15 Nov 2021 16:41:38 +0100 Subject: [PATCH 5/5] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26475e2..432dea1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,5 +15,5 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 14 - - name: build application - run: make install_build_deps + - name: build rpm + run: make build_rpm