From 54ff75d17130498e2b0ebc3a4b73f41d32810242 Mon Sep 17 00:00:00 2001 From: Brendan Galloway Date: Wed, 19 Jul 2023 12:41:39 +0200 Subject: [PATCH] ci: add debug output --- .github/workflows/gradle-build.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-build.yaml b/.github/workflows/gradle-build.yaml index 5b26ae9..34188b0 100644 --- a/.github/workflows/gradle-build.yaml +++ b/.github/workflows/gradle-build.yaml @@ -25,6 +25,7 @@ jobs: "preset": "conventionalcommits", "releaseRules": [ {"type": "chore", "release": "patch"}, + {"type": "ci", "release": "patch"}, ] }], ['@semantic-release/release-notes-generator', { @@ -52,7 +53,7 @@ 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 @@ -60,7 +61,7 @@ jobs: 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 }}" @@ -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: