From 17b4ee4365c921ba40df48d89bf737d08ff50389 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 30 Sep 2024 16:53:25 -0300 Subject: [PATCH] fix: allow regenerate action to continue with errors --- .github/workflows/regenerate.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/regenerate.yaml b/.github/workflows/regenerate.yaml index c67aeda..2a77492 100644 --- a/.github/workflows/regenerate.yaml +++ b/.github/workflows/regenerate.yaml @@ -29,14 +29,16 @@ jobs: nix run .#betterfox-generator firefox if [ ! -z $(git ls-files --others) ] || ! (git diff-index --quiet HEAD --); then git commit . -m "Re-extract firefox jsons"; fi - # - name: Generate librewolf files - # shell: bash - # run: | - # nix run .#betterfox-generator librewolf - # if [ ! -z $(git ls-files --others) ] || ! (git diff-index --quiet HEAD --); then git commit . -m "Re-extract librewolf jsons"; fi + - name: Generate librewolf files + shell: bash + continue-on-error: true + run: | + nix run .#betterfox-generator librewolf + if [ ! -z $(git ls-files --others) ] || ! (git diff-index --quiet HEAD --); then git commit . -m "Re-extract librewolf jsons"; fi - name: Generate smoothfox files shell: bash + continue-on-error: true run: | nix run .#betterfox-generator smoothfox if [ ! -z $(git ls-files --others) ] || ! (git diff-index --quiet HEAD --); then git commit . -m "Re-extract smoothfox jsons"; fi