Skip to content

Bump kotest from 5.8.1 to 5.9.0 (#750) #462

Bump kotest from 5.8.1 to 5.9.0 (#750)

Bump kotest from 5.8.1 to 5.9.0 (#750) #462

name: Create new version tag
on:
push:
branches: [main]
jobs:
create-new-version-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 20
- name: Build
uses: gradle/gradle-build-action@v3
with:
arguments: :xef-openai-client-generator:openaiClientGenerate build
- name: Read version
id: read-version
run: echo "version=$(head -n 1 build/semver/version.txt)" >> "$GITHUB_OUTPUT"
- name: Create new version tag
if: |
contains(steps.read-version.outputs.version, 'alpha') ||
contains(steps.read-version.outputs.version, 'beta') ||
contains(steps.read-version.outputs.version, 'rc')
uses: gradle/gradle-build-action@v3
with:
arguments: createSemverTag -Psemver.stage=auto
- name: Push Tag
if: |
contains(steps.read-version.outputs.version, 'alpha') ||
contains(steps.read-version.outputs.version, 'beta') ||
contains(steps.read-version.outputs.version, 'rc')
run: git push --follow-tags