swithc to jar
All checks were successful
build / build (push) Successful in 1m14s
publish / build (push) Successful in 1m21s

This commit is contained in:
Ryan Voots 2025-05-04 14:13:06 -04:00
parent 5a99e80dd6
commit 4193af72d5
2 changed files with 6 additions and 6 deletions

View file

@ -22,12 +22,12 @@ jobs:
maven-version: 3.9.9 maven-version: 3.9.9
- name: build with maven - name: build with maven
run: mvn --batch-mode --file pom.xml -Drevision=${GITHUB_REF_NAME/v/} -Dkeycloak.version=21.0.0 package run: mvn --batch-mode --file pom.xml -Drevision=${GITHUB_REF_NAME/v/} -Dkeycloak.version=21.0.0 package
- name: copy ears - name: copy jars
run: |- run: |-
mkdir -p release/ears mkdir -p release/jars
cp -v bundle/target/*.ear release/ears cp -v bundle/target/*.jar release/jars
- name: upload to release - name: upload to release
uses: actions/forgejo-release@v2.6.0 uses: actions/forgejo-release@v2.6.0
with: with:
direction: upload direction: upload
release-dir: 'release/ears' release-dir: 'release/jars'

View file

@ -11,7 +11,7 @@
</parent> </parent>
<artifactId>keycloak-regex-mapper-bundle</artifactId> <artifactId>keycloak-regex-mapper-bundle</artifactId>
<packaging>ear</packaging> <packaging>jar</packaging>
<name>bundle</name> <name>bundle</name>
<dependencies> <dependencies>
@ -27,7 +27,7 @@
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<configuration> <configuration>
<displayName>${project.parent.artifactId}</displayName> <displayName>${project.parent.artifactId}</displayName>
<description>${project.parent.description}</description> <description>${project.parent.description}</description>