Skip to content

Commit

Permalink
issue #4: change deprecated var assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
vivalareda committed Dec 9, 2023
1 parent 99921c6 commit e9928a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow-lint-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
- name: Compare coverage with threshold
id: compare_values
run: |
if [ $(echo "$CURRENTCOVERAGE < $THRESHOLD" | bc) -eq 1 ]; then
echo "::set-output name=coverage_ok::false"
if [ $(echo "$CURRENTCOVERAGE > $THRESHOLD" | bc) -eq 1 ]; then
echo "update_value=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=coverage_ok::true"
echo "update_value=false" >> $GITHUB_OUTPUT
fi
- name: Update file
if: steps.compare_values.outputs.coverage_ok == 'true'
if: steps.compare_values.outputs.update_value == 'true'
uses: BoundfoxStudios/action-write-file@v1
with:
path: ./coverage_threshold.txt
Expand Down

0 comments on commit e9928a0

Please sign in to comment.