Skip to content

Commit b543129

Browse files
author
Roman
committed
fix yaml
1 parent 5e43c03 commit b543129

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/pr-checks.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
check-labels:
1111
runs-on: ubuntu-latest
1212
outputs:
13-
skip-tests: ${{ env.skip-tests }}
14-
run-sdk-tests: ${{ env.run-sdk-tests }}
13+
skip-tests: ${{ steps.check-labels.outputs.skip-tests }}
14+
run-sdk-tests: ${{ steps.check-labels.outputs.run-sdk-tests }}
1515

1616
steps:
1717
- name: Check out repository
@@ -33,8 +33,10 @@ jobs:
3333
3434
# Check for skip-bittensor-tests label
3535
if echo "$labels" | jq -e 'any(. == "skip-bittensor-tests")' > /dev/null; then
36-
echo "skip-tests=true" >> $GITHUB_ENV
36+
echo "skip-tests=true" >> $GITHUB_OUTPUT
3737
exit 0
38+
else
39+
echo "skip-tests=false" >> $GITHUB_OUTPUT
3840
fi
3941
4042
# # Check for run-bittensor-cli-tests label
@@ -46,9 +48,9 @@ jobs:
4648

4749
# Check for run-bittensor-sdk-tests label
4850
if echo "$labels" | jq -e 'any(. == "run-bittensor-sdk-tests")' > /dev/null; then
49-
echo "run-sdk-tests=true" >> $GITHUB_ENV
51+
echo "run-sdk-tests=true" >> $GITHUB_OUTPUT
5052
else
51-
echo "run-sdk-tests=false" >> $GITHUB_ENV
53+
echo "run-sdk-tests=false" >> $GITHUB_OUTPUT
5254
fi
5355

5456
# # Fail if neither cli nor sdk tests are specified

0 commit comments

Comments
 (0)