From cc67e6544e92e2cfd4336f981689b367a3ddab6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= Date: Mon, 24 Oct 2022 05:58:42 +0100 Subject: [PATCH] CI: Move from deprecated set-output --- .ci/ci-check.py | 4 ++-- .github/workflows/main.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/ci-check.py b/.ci/ci-check.py index c0b2cf6b00..962bf7103c 100644 --- a/.ci/ci-check.py +++ b/.ci/ci-check.py @@ -246,9 +246,9 @@ if __name__ == "__main__": if args.run: res = check_whether_we_should_run() if res: - print("::set-output name=run::true") + print("run=true") else: - print("::set-output name=run::false") + print("run=false") sys.exit(0) else: main() diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d889501fd9..f233e904e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -131,7 +131,7 @@ jobs: - name: Check whether to Run id: check-run run: | - python .ci/ci-check.py --whether-to-run + python .ci/ci-check.py --whether-to-run >> $GITHUB_OUTPUT - uses: msys2/setup-msys2@v2 if: steps.check-run.outputs.run == 'true' with: