Browse Source

Fix step id in conditional checks

pull/11270/head
Steve Riesenberg 4 years ago
parent
commit
8e34b4c15e
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
  1. 4
      .github/workflows/release-next-version.yml

4
.github/workflows/release-next-version.yml

@ -54,13 +54,13 @@ jobs:
echo "::set-output name=is_open_issues::$(cat build/github/milestones/is-open-issues)" echo "::set-output name=is_open_issues::$(cat build/github/milestones/is-open-issues)"
- id: validate-release-state - id: validate-release-state
name: Validate State of Release name: Validate State of Release
if: steps.check-release-due.outputs.is_due_today == 'true' && steps.check-release-due.outputs.is_open_issues == 'true' if: steps.check-release-due.outputs.is_due_today == 'true' && steps.check-open-issues.outputs.is_open_issues == 'true'
run: | run: |
echo "The release is due today but there are open issues" echo "The release is due today but there are open issues"
exit 1 exit 1
- id: update-version-and-push - id: update-version-and-push
name: Update version and push name: Update version and push
if: steps.check-release-due.outputs.is_due_today == 'true' && steps.check-release-due.outputs.is_open_issues == 'false' if: steps.check-release-due.outputs.is_due_today == 'true' && steps.check-open-issues.outputs.is_open_issues == 'false'
run: | run: |
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER" export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD" export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"

Loading…
Cancel
Save