File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 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
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
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
You can’t perform that action at this time.
0 commit comments