Skip to content

Commit

Permalink
Correcting anaconda package version ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
lingfeiwang committed Feb 21, 2023
1 parent 6c3ab16 commit efb842d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
run: |
version='${{ needs.build.outputs.version }}'
version="${version//./[.]}"
serialid=$(conda search -c lingfeiwang --override-channels -q dictys | grep '^dictys[[:blank:]]*'"$version" | wc -l)
serialid=$( (conda search -c lingfeiwang --override-channels -q dictys | grep '^dictys[[:blank:]]*'"$version"'[[:blank:]]' || true ) | wc -l)
echo "serialid=$serialid" >> $GITHUB_OUTPUT
- name: Build and publish release version
uses: ./.github/actions/conda-build-publish
Expand Down

0 comments on commit efb842d

Please sign in to comment.