Skip to content

Commit

Permalink
Merge pull request #6 from rtdi/master
Browse files Browse the repository at this point in the history
update api
  • Loading branch information
wernerdaehn authored Nov 19, 2020
2 parents d510aa2 + 832910e commit 3d0e369
Showing 3 changed files with 11 additions and 13 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -10,21 +10,19 @@ jobs:
name: Test build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/cache@master
- uses: actions/checkout@main
- uses: actions/cache@main
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 12
uses: actions/setup-java@master
uses: actions/setup-java@main
with:
java-version: 12
- name: Build and test project
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export MVN_PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "::set-env name=MVN_PROJECT_VERSION::$MVN_PROJECT_VERSION"
mvn -DskipTests=true --no-transfer-progress clean package
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -10,28 +10,28 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/cache@master
- uses: actions/checkout@main
- uses: actions/cache@main
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 12
uses: actions/setup-java@master
uses: actions/setup-java@main
with:
java-version: 12
- name: Build and test project
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export MVN_PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "::set-env name=MVN_PROJECT_VERSION::$MVN_PROJECT_VERSION"
echo "MVN_PROJECT_VERSION=$MVN_PROJECT_VERSION" >> $GITHUB_ENV
mvn -DskipTests=true --no-transfer-progress clean package
- name: Create Release
id: create_release
uses: actions/create-release@master
uses: actions/create-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
@@ -41,7 +41,7 @@ jobs:
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@master
uses: actions/upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.rtdi.bigdata.connector</groupId>
<artifactId>hanaconnector</artifactId>
<version>0.9.3</version>
<version>0.9.4</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<io.rtdi.bigdata.connector.version>0.9.39</io.rtdi.bigdata.connector.version>
<io.rtdi.bigdata.connector.version>0.9.40</io.rtdi.bigdata.connector.version>
</properties>
<build>
<finalName>${project.artifactId}</finalName>

0 comments on commit 3d0e369

Please sign in to comment.