From d4a46606fd705eb5aa53bbece788626aa3eb3470 Mon Sep 17 00:00:00 2001 From: kaltokri Date: Thu, 19 Oct 2023 18:16:45 +0200 Subject: [PATCH] Switched from env.FORCE_PUSH to vars.FORCE_PUSH --- .github/workflows/build-docs.yml | 6 +++--- .github/workflows/build-includes.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index b0a111c82..e8cd1d248 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -25,7 +25,7 @@ jobs: echo "Repository: ${{ github.repository }}" echo "Commit-Id: ${{ github.sha }}" echo "Owner: ${{ github.repository_owner }}" - echo "FORCE_PUSH: ${{ env.FORCE_PUSH }}" + echo "FORCE_PUSH: ${{ vars.FORCE_PUSH }}" ######################################################################### # Prepare build environment @@ -126,8 +126,8 @@ jobs: run: | cp ./build/doc/*.html ./build/MOOSE_DOCS/Documentation/ - - name: Push result to docs repository (skipped by act) - if: ${{ env.FORCE_PUSH == 'true' }} + - name: Push result to docs repository + if: ${{ vars.FORCE_PUSH == 'true' }} run: | git config user.name "kaltokri" git config user.email "rolf.geuenich@gmail.com" diff --git a/.github/workflows/build-includes.yml b/.github/workflows/build-includes.yml index 06c64e7b7..ef9e7f6ce 100644 --- a/.github/workflows/build-includes.yml +++ b/.github/workflows/build-includes.yml @@ -95,7 +95,7 @@ jobs: # Run LuaCheck ######################################################################### - name: Run LuaCheck - if: ${{ env.SKIP_LUACHECK != 'true' }} + if: ${{ vars.SKIP_LUACHECK != true }} continue-on-error: true run: | luacheck --std=lua51c --config=.luacheckrc -gurasqq "Moose Development/Moose" @@ -119,7 +119,7 @@ jobs: run: | cp -r ./build/result/* ./build/MOOSE_INCLUDE/ - - name: Push result to MOOSE_INCLUDE repository (skipped by act) + - name: Push result to MOOSE_INCLUDE repository if: ${{ vars.FORCE_PUSH == 'true' }} run: | git config user.name "MooseBotter"