Skip to content

Commit

Permalink
Alternate indirect use
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Sep 22, 2024
1 parent 10009dc commit bf42637
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
#############################################
- id: check-new-release
name: Check if we need to perform a release
env:
TAGGED_VERSION=${{ steps.get-tagged-version.outputs.version }}
run: |
# We version the containers with the `biosimulators_copasi` version, but list the version
# online as the COPASI version within the container.
taggedVersion=${{ steps.get-tagged-version.outputs.version }}
copasiVersion=$(poetry -q run python -c "import COPASI; print(COPASI.__version__)")
echo "copasiVersion=$copasiVersion" >> $GITHUB_OUTPUT
echo "copasiVersion=$copasiVersion"
Expand All @@ -89,7 +89,7 @@ jobs:
oldBioSimVersion=${{ steps.latest_release_info.outputs.tag_name }}
echo "oldBioSimVersion=$oldBioSimVersion"
if [ "$oldBioSimVersion" < "$bioSimVersion" ] && [ -z "$TAGGED_VERSION" ]; then
if [ "$oldBioSimVersion" < "$bioSimVersion" ] && [ -z "$taggedVersion" ]; then
echo "needDeploy=true" >> "$GITHUB_OUTPUT"
echo "Deploy will be performed!"
else
Expand All @@ -99,7 +99,7 @@ jobs:
if [ "$oldBioSimVersion" < "$bioSimVersion" ]; then
echo "Version is not newer than existing version"
fi
if [ -z "$TAGGED_VERSION" ]; then
if [ -z "$taggedVersion" ]; then
echo "This is not a tagged action; push a new tag to release."
fi
fi
Expand Down

0 comments on commit bf42637

Please sign in to comment.