Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit f0e5f76

Browse files
authored
Merge pull request #27 from xdev-software/develop
Release 6.0.0
2 parents 089d30a + 0f23758 commit f0e5f76

20 files changed

+691
-372
lines changed

.github/dependabot.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ updates:
44
directory: "/"
55
schedule:
66
interval: daily
7+
# Run it at a specific time so that we don't get emails all day long
8+
time: "00:00"
79
open-pull-requests-limit: 10
810
ignore:
911
- dependency-name: "*"
@@ -15,4 +17,6 @@ updates:
1517
directory: "/"
1618
schedule:
1719
interval: daily
20+
# Run it at a specific time so that we don't get emails all day long
21+
time: "00:00"
1822
open-pull-requests-limit: 10

.github/workflows/checkBuild.yml

+16-12
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,22 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717

18+
strategy:
19+
matrix:
20+
java: [8, 11, 17]
21+
java-package: [jdk]
22+
distribution: [temurin]
23+
1824
steps:
1925
- uses: actions/checkout@v2
2026

21-
- name: Set up JDK 8
27+
- name: Set up JDK
2228
uses: actions/setup-java@v2
2329
with:
24-
distribution: 'zulu'
25-
java-version: '8'
26-
java-package: jdk+fx
27-
28-
- name: Cache local Maven repository
29-
uses: actions/cache@v2
30-
with:
31-
path: ~/.m2/repository
32-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
33-
restore-keys: |
34-
${{ runner.os }}-maven-
30+
distribution: ${{ matrix.distribution }}
31+
java-version: ${{ matrix.java }}
32+
java-package: ${{ matrix.java-package }}
33+
cache: 'maven'
3534

3635
- name: Build with Maven
3736
run: mvn -B clean verify
@@ -53,3 +52,8 @@ jobs:
5352
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && mvn -B clean verify"
5453
exit 1
5554
fi
55+
56+
- uses: actions/upload-artifact@v2
57+
with:
58+
name: jars-java-${{ matrix.java }}
59+
path: target/*.jar

.github/workflows/release.yml

+5-24
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,8 @@ jobs:
1313
- name: Set up JDK 8
1414
uses: actions/setup-java@v2
1515
with:
16-
distribution: 'zulu'
16+
distribution: 'temurin'
1717
java-version: '8'
18-
java-package: jdk+fx
19-
20-
- name: Cache local Maven repository
21-
uses: actions/cache@v2
22-
with:
23-
path: ~/.m2/repository
24-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25-
restore-keys: |
26-
${{ runner.os }}-maven-
2718

2819
- name: Build with Maven
2920
run: mvn -B clean verify
@@ -85,7 +76,7 @@ jobs:
8576
release_name: v${{ steps.version.outputs.release }}
8677
commitish: master
8778
body: |
88-
## Installation
79+
## Installation [![Maven Central](https://img.shields.io/maven-central/v/com.xdev-software/xapi-db-mysql-5?versionPrefix=${{ steps.version.outputs.release }})](https://mvnrepository.com/artifact/com.xdev-software/xapi-db-mysql-5)
8980
Add the following lines to your pom:
9081
```XML
9182
<dependency>
@@ -109,12 +100,11 @@ jobs:
109100
git config --global user.name "GitHub Actions"
110101
git pull
111102
112-
- name: Set up JDK 8 Apache Maven Central
103+
- name: Set up JDK 8 OSSRH
113104
uses: actions/setup-java@v2
114105
with: # running setup-java again overwrites the settings.xml
115-
distribution: 'zulu'
106+
distribution: 'temurin'
116107
java-version: '8'
117-
java-package: jdk+fx
118108
server-id: ossrh
119109
server-username: MAVEN_CENTRAL_USERNAME
120110
server-password: MAVEN_CENTRAL_TOKEN
@@ -144,17 +134,8 @@ jobs:
144134
- name: Set up JDK 8
145135
uses: actions/setup-java@v2
146136
with:
147-
distribution: 'zulu'
137+
distribution: 'temurin'
148138
java-version: '8'
149-
java-package: jdk+fx
150-
151-
- name: Restore - Maven Cache
152-
uses: actions/cache@v1
153-
with:
154-
path: ~/.m2/repository
155-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
156-
restore-keys: |
157-
${{ runner.os }}-maven-:
158139

159140
- name: Build dependencies/licenses files
160141
run: mvn -B project-info-reports:dependencies

.github/workflows/test-deploy.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212
- name: Set up JDK 8 Apache Maven Central
1313
uses: actions/setup-java@v2
1414
with: # running setup-java again overwrites the settings.xml
15-
distribution: 'zulu'
15+
distribution: 'temurin'
1616
java-version: '8'
17-
java-package: jdk+fx
1817
server-id: ossrh
1918
server-username: MAVEN_CENTRAL_USERNAME
2019
server-password: MAVEN_CENTRAL_TOKEN

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ bin/
99
.settings
1010
.classpath
1111
.project
12+
.checkstyle

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## 6.0.0
2+
* Updated to XAPI 6
3+
* Maven dependency/plugin updates
4+
5+
## 5.0.0
6+
* Inital open-source release

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ The XDEV Application Framework is released under [GNU Lesser General Public Lice
3333
View the [summary of all dependencies online](https://xdev-software.github.io/xapi-db-mysql-5/dependencies/)
3434

3535
## Releasing [![Build](https://img.shields.io/github/workflow/status/xdev-software/xapi-db-mysql-5/Release?label=Release)](https://github.com/xdev-software/xapi-db-mysql-5/actions/workflows/release.yml)
36-
Consider doing a [test-deployment](https://github.com/xdev-software/xapi-db-mysql-5/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
36+
37+
Before releasing:
38+
* Consider doing a [test-deployment](https://github.com/xdev-software/xapi-db-mysql-5/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
39+
* Check the [changelog](CHANGELOG.md)
3740

3841
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes.
3942

4043
When the release is finished do the following:
4144
* Merge the auto-generated PR (with the incremented version number) back into the ``develop``
42-
* Add the release notes to the [GitHub release](https://github.com/xdev-software/xapi-db-mysql-5/releases/latest)
45+
* Link the corresponding version from the [changelog](CHANGELOG.md) to the [GitHub release](https://github.com/xdev-software/xapi-db-mysql-5/releases/latest)

0 commit comments

Comments
 (0)