Skip to content

feat: release v0.3.4 (#292) #14

feat: release v0.3.4 (#292)

feat: release v0.3.4 (#292) #14

name: Release Jar to Github
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
# Maven build
- name: Build with Maven
run: mvn clean install -DskipTests
# Maven pom version
- name: Set Release version env variable
run: |
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
# Release jar
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ env.RELEASE_VERSION }}"
prerelease: false
title: "Release v${{ env.RELEASE_VERSION }}"
files: |
databend-jdbc/target/*.jar