Skip to content

Commit

Permalink
Merge pull request #18 from Sefaria/fix-stable-build
Browse files Browse the repository at this point in the history
ci: add debug output
  • Loading branch information
nsantacruz authored Jul 19, 2023
2 parents 2e6a103 + 54ff75d commit b290626
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/gradle-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
"preset": "conventionalcommits",
"releaseRules": [
{"type": "chore", "release": "patch"},
{"type": "ci", "release": "patch"},
]
}],
['@semantic-release/release-notes-generator', {
Expand Down Expand Up @@ -52,15 +53,15 @@ jobs:
- name: check version was generated
id: releaseVersion
run: |
if [[ -z "${{ steps.semantic.outputs.new_release_version }}" ]]; then
if [[ -z "${{ steps.semantic.outputs.release_version }}" ]]; then
if [[ -z "$(git tag --points-at HEAD -l 'v*')" ]]; then
echo "No release version available"
exit 1
else
echo "releaseVersion=$(git tag --points-at HEAD -l 'v*')" >> $GITHUB_OUTPUT
fi
else
echo "releaseVersion=${{ steps.semantic.outputs.new_release_version }}" >> $GITHUB_OUTPUT
echo "releaseVersion=${{ steps.semantic.outputs.release_version }}" >> $GITHUB_OUTPUT
fi
- name: "Version Info:"
run: echo "${{ steps.releaseVersion.outputs.releaseVersion }}"
Expand All @@ -73,13 +74,15 @@ jobs:
- naive-lemmatizer
- naive-lemmatizer-less-prefixes
steps:
- name: Debug
run: |
echo ${{ needs }}
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
cache: gradle
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
Expand Down

0 comments on commit b290626

Please sign in to comment.