Changelog for version 3.1.0 #346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Helm Charts | |
on: | |
push: | |
jobs: | |
get-gradle-version: | |
name: Get Gradle Version | |
runs-on: ubuntu-22.04 | |
outputs: | |
version: ${{ steps.get-version.outputs.version }} | |
steps: | |
- name: Check out repository | |
uses: bakdata/ci-templates/actions/[email protected] | |
- name: Set up Gradle with version ${{ inputs.gradle-version }} | |
uses: bakdata/ci-templates/actions/[email protected] | |
with: | |
java-distribution: "microsoft" | |
java-version: "11" | |
gradle-version: "wrapper" | |
gradle-cache: "true" | |
gradle-cache-read-only: "false" | |
- name: Get version | |
id: get-version | |
run: | | |
version=$(./gradlew properties -q | grep "^version:" | awk '{print $2}' | tr -d '[:space:]' | xargs) | |
echo "version=$version" >> "$GITHUB_OUTPUT" | |
shell: bash | |
call-workflow-passing-data: | |
name: Publish Helm chart | |
uses: bakdata/ci-templates/.github/workflows/[email protected] | |
needs: get-gradle-version | |
with: | |
charts-path: "./charts" | |
subdirs: "['producer-app','producer-app-cleanup-job','streams-app','streams-app-cleanup-job']" | |
gh-pages-branch: gh-pages | |
version: ${{ needs.get-gradle-version.outputs.version }} | |
secrets: | |
github-username: ${{ secrets.GH_USERNAME }} | |
github-email: ${{ secrets.GH_EMAIL }} | |
github-token: ${{ secrets.GH_TOKEN }} |