diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..49f246c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Publish package to GitHub Packages +on: + release: + types: [created] +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Publish package + run: mvn --batch-mode deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index ae60517..b95073d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ -# extension keycloak: group mapper -projet de build basé sur https://github.com/thomasdarimont/keycloak-extension-playground/tree/master/simple-oidc-mapper +# Keycloak OIDC IdentityProvider group mapper extension +working extension build thanks to [@thomasdarimont](https://github.com/thomasdarimont/keycloak-extension-playground/tree/master/simple-oidc-mapper) +## Build ```shell mvn clean install mvn package ``` - -copier le JAR dans `target/` dans le dossier `standalone/deployments` de votre serveur Keycloak +## Install +copy the generated JAR in `target/` (or download from Github releases) to standalone/deployments` in you keycloak server files diff --git a/pom.xml b/pom.xml index b6777f5..71efac2 100644 --- a/pom.xml +++ b/pom.xml @@ -9,6 +9,14 @@ 1.0.0 jar + + + github + GitHub Packages + https://maven.pkg.github.com/JeanRibes/keycloak-idp-group-mapper + + +