diff --git a/.github/workflows/copy-workflow.yml b/.github/workflows/copy-workflow.yml index 79d28f614..32ebe3f1a 100644 --- a/.github/workflows/copy-workflow.yml +++ b/.github/workflows/copy-workflow.yml @@ -35,15 +35,15 @@ jobs: id: changes run: | if git diff --quiet; then - echo "::set-output name=changes::false" + echo "changes=false" >> $GITHUB_OUTPUT else - echo "::set-output name=changes::true" + echo "changes=true" >> $GITHUB_OUTPUT fi - name: Create and push changes to new branch if: steps.changes.outputs.changes == 'true' run: | - git checkout -b crowdin-copy-changes + git checkout -b crowdin-copy-changes || git checkout crowdin-copy-changes git add . git commit -m "chore: Copy ignored files using crowdin:copy" git push --set-upstream origin crowdin-copy-changes