From c2f16a54aa65f3efc45725c0edadc2d96ba34a76 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Wed, 14 Apr 2021 23:23:52 -1000 Subject: [PATCH] localisation.yml: Use working-directory --- .github/workflows/localisation.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/localisation.yml b/.github/workflows/localisation.yml index 99b47d587e..e41a110fa7 100644 --- a/.github/workflows/localisation.yml +++ b/.github/workflows/localisation.yml @@ -29,8 +29,8 @@ jobs: cp $f "./OpenRCT2/data/language/$filename" done - name: Commit and push + working-directory: OpenRCT2 run: | - pushd ./OpenRCT2 if [[ $(git status -s) ]]; then echo "Committing and pushing..." git add . @@ -42,4 +42,3 @@ jobs: else echo "No changes to merge." fi - popd