diff --git a/.github/workflows/merge-docs.yml b/.github/workflows/merge-docs.yml index aad8b6b1..4ffaf40a 100644 --- a/.github/workflows/merge-docs.yml +++ b/.github/workflows/merge-docs.yml @@ -12,6 +12,7 @@ jobs: - name: Merge docs run: ./mergedoc.sh - name: Commit merged docs + continue-on-error: true run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' diff --git a/.github/workflows/rules-to-wiki.yml b/.github/workflows/rules-to-wiki.yml index 84b94361..07f5e4e6 100644 --- a/.github/workflows/rules-to-wiki.yml +++ b/.github/workflows/rules-to-wiki.yml @@ -64,7 +64,15 @@ jobs: repository: ${{github.repository}}.wiki path: wiki - name: Proccess Gradle log into a pretty wiki page - run: from1="# Carpet"; to2="BUILD SUCCESSFUL"; a="$(cat settings-toProccess.txt)"; a="$(echo "${a#*"$from1"}")"; echo "$from1${a%%"$to2"*}" > wiki/Current-Available-Settings.md + run: | + from1="# Carpet"; + File=settings-toProccess.txt + if grep -q "Deprecated Gradle features" "$File"; then # Happens after update to Gradle 6 + to2="Deprecated Gradle features"; + else + to2="BUILD SUCCESSFUL" + fi + a="$(cat settings-toProccess.txt)"; a="$(echo "${a#*"$from1"}")"; echo "$from1${a%%"$to2"*}" > wiki/Current-Available-Settings.md - name: Commit updated wiki page continue-on-error: true run: |