CI: Move from deprecated set-output
This commit is contained in:
committed by
Naveen M K
parent
f81311bfdf
commit
cc67e6544e
@@ -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()
|
||||
|
||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user