Skip to content

Commit

Permalink
avoid dashes that aren't flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Apr 1, 2021
1 parent b4a992b commit 7a70dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/example-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ jobs:
if: contains(matrix.environment-file, '.yml') && matrix.python-version
run: |
set -eux
if [ "$(diff '${{ steps.setup-miniconda.outputs.environment-file }}' '${{ matrix.environment-file }}' | grep -c '- python=${{ matrix.python-version }}')" -eq 0 ]; then exit 1; fi
if [ "$(diff '${{ steps.setup-miniconda.outputs.environment-file }}' '${{ matrix.environment-file }}' | grep -c 'python=${{ matrix.python-version }}')" -ge 1 ]; then echo ok; else; exit 1; fi
python --version | grep "Python ${{ matrix.python-version }}"
awk '/- conda-forge/,/- defaults/' '${{ steps.setup-miniconda.outputs.environment-file }}'

0 comments on commit 7a70dd6

Please sign in to comment.