diff --git a/.github/workflows/java-gradle-release.yaml b/.github/workflows/java-gradle-release.yaml index 883a9a333..5ec07d742 100644 --- a/.github/workflows/java-gradle-release.yaml +++ b/.github/workflows/java-gradle-release.yaml @@ -68,7 +68,7 @@ jobs: steps: - name: Release on Github id: release - uses: bakdata/ci-templates/actions/java-gradle-release@1.49.0 + uses: bakdata/ci-templates/actions/java-gradle-release@1.50.2 with: release-type: ${{ inputs.release-type }} github-email: ${{ secrets.github-email }} diff --git a/README.md b/README.md index e49805a78..4160e3c7b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ci-templates +# CI-templates This is a collection of reusable workflows and composite actions for GitHub that Bakdata uses for open-source projects. diff --git a/actions/java-gradle-release/action.yaml b/actions/java-gradle-release/action.yaml index 443679dd4..c718572ad 100644 --- a/actions/java-gradle-release/action.yaml +++ b/actions/java-gradle-release/action.yaml @@ -52,7 +52,7 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.49.0 + uses: bakdata/ci-templates/actions/checkout@1.50.2 with: fetch-depth: 0 token: ${{ inputs.github-token }} @@ -68,9 +68,10 @@ runs: sudo wget -O /usr/local/bin/semver https://raw.githubusercontent.com/fsaintjacques/semver-tool/3.3.0/src/semver sudo chmod +x /usr/local/bin/semver shell: bash + working-directory: ${{ inputs.working-directory }} - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.50.2 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -89,6 +90,7 @@ runs: fi echo "release-version=$release_version" >> "$GITHUB_OUTPUT" shell: bash + working-directory: ${{ inputs.working-directory }} - name: Create release run: ./gradlew release -x test -Prelease.useAutomaticVersion=true -Prelease.releaseVersion=${{ steps.evaluate-version.outputs.release-version }} -Prelease.disablePushToRemote=true -Prelease.requireBranch=${{ github.event.repository.default_branch }} ${{ inputs.gradle-refresh-dependencies == 'true' && '--refresh-dependencies' || '' }} @@ -101,7 +103,7 @@ runs: shell: bash - name: Create changelog - uses: bakdata/ci-templates/actions/changelog-generate@1.50.0 + uses: bakdata/ci-templates/actions/changelog-generate@1.50.2 with: github-token: ${{ inputs.github-token }} tag: ${{ steps.evaluate-version.outputs.release-version }}