Compare commits
23 commits
v1.0.10-pr
...
main
Author | SHA1 | Date | |
---|---|---|---|
d5e58bbf3d | |||
4193af72d5 | |||
5a99e80dd6 | |||
1dac7430ab | |||
4dff98547e | |||
95288b5d6b | |||
9e58e78c95 | |||
ccdf91cc9f | |||
8f9453dc42 | |||
c1c0919162 | |||
987eb1b136 | |||
9142d74592 | |||
0398b44dc2 | |||
4902673b5a | |||
bf59a7c89b | |||
662887901c | |||
1322d81435 | |||
aaf7646061 | |||
|
6dd945d31e | ||
|
d5d5d925fe | ||
|
420e0c8e32 | ||
|
b764de0227 | ||
|
fc688101e6 |
2 changed files with 19 additions and 18 deletions
|
@ -4,12 +4,13 @@ on:
|
|||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: https://gitea.com/actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
- name: set up java
|
||||
uses: https://gitea.com/actions/setup-java@v4
|
||||
with:
|
||||
|
@ -20,13 +21,13 @@ jobs:
|
|||
with:
|
||||
maven-version: 3.9.9
|
||||
- name: build with maven
|
||||
run: mvn --batch-mode --file pom.xml package
|
||||
run: mvn --batch-mode --file pom.xml -Drevision=${GITHUB_REF_NAME/v/} -Dkeycloak.version=21.0.0 package
|
||||
- name: copy jars
|
||||
run: |-
|
||||
mkdir -p release/jars
|
||||
cp -v bundle/target/keycloak-regex-mapper-*/com.github.lucafilipozzi-keycloak-regex-mapper-*.jar release/jars
|
||||
- name: upload to release
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
uses: actions/forgejo-release@v2.6.0
|
||||
with:
|
||||
files: |-
|
||||
bundle/target/*.ear
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
direction: upload
|
||||
release-dir: 'release/jars'
|
||||
|
|
18
pom.xml
18
pom.xml
|
@ -47,8 +47,8 @@
|
|||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<github.account>lucafilipozzi</github.account>
|
||||
<revision>1.0.9</revision>
|
||||
<keycloak.version>15.0.2</keycloak.version>
|
||||
<revision>develop</revision>
|
||||
<keycloak.version>26.0.7</keycloak.version>
|
||||
</properties>
|
||||
|
||||
<!-- IMPORTANT: don't forget to update jboss-deployment-structure.xml -->
|
||||
|
@ -143,7 +143,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.0.0-M3</version>
|
||||
<version>3.5.0</version>
|
||||
<configuration>
|
||||
<rules>
|
||||
<!-- org.apache.maven.plugins:maven-enforcer-plugin -->
|
||||
|
@ -151,7 +151,7 @@
|
|||
<version>1.8</version>
|
||||
</requireJavaVersion>
|
||||
<requireMavenVersion>
|
||||
<version>3.6.0</version>
|
||||
<version>3.9.0</version>
|
||||
</requireMavenVersion>
|
||||
<requirePluginVersions>
|
||||
<banLatest>true</banLatest>
|
||||
|
@ -185,14 +185,14 @@
|
|||
<dependency>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>extra-enforcer-rules</artifactId>
|
||||
<version>1.3</version>
|
||||
<version>1.6.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<version>3.0.0</version>
|
||||
</plugin>
|
||||
|
||||
<!-- compile -->
|
||||
|
@ -233,7 +233,7 @@
|
|||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-archiver</artifactId>
|
||||
<version>4.2.5</version>
|
||||
<version>4.6.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
|
@ -252,7 +252,7 @@
|
|||
<dependency>
|
||||
<groupId>com.puppycrawl.tools</groupId>
|
||||
<artifactId>checkstyle</artifactId>
|
||||
<version>8.45.1</version>
|
||||
<version>10.6.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
|
@ -274,7 +274,7 @@
|
|||
<plugin>
|
||||
<groupId>org.owasp</groupId>
|
||||
<artifactId>dependency-check-maven</artifactId>
|
||||
<version>6.2.2</version>
|
||||
<version>8.0.1</version>
|
||||
<configuration>
|
||||
<skipProvidedScope>true</skipProvidedScope>
|
||||
</configuration>
|
||||
|
|
Loading…
Add table
Reference in a new issue