From c9aad1406502ba08c654ade4bfa95bf3a6e93830 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Fri, 1 Dec 2023 00:15:36 +0100 Subject: [PATCH] publish retrocompat jar --- .github/workflows/ci.yaml | 5 ++++- package.json | 9 +++++---- yarn.lock | 8 ++++---- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6423977..2e3aa48 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,6 +49,7 @@ jobs: - run: npx keycloakify env: XDG_CACHE_HOME: "/home/runner/.cache/yarn" + - run: mv build_keycloak/target/retrocompat-*.jar retrocompat-keycloak-theme.jar - run: mv build_keycloak/target/*.jar keycloak-theme.jar - uses: softprops/action-gh-release@v1 with: @@ -56,8 +57,10 @@ jobs: tag_name: v${{ needs.check_if_version_upgraded.outputs.to_version }} target_commitish: ${{ github.head_ref || github.ref }} generate_release_notes: true - files: keycloak-theme.jar draft: false + files: | + retrocompat-keycloak-theme.jar + keycloak-theme.jar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 7b3f9bc..5ce8eed 100755 --- a/package.json +++ b/package.json @@ -15,11 +15,12 @@ "storybook": "start-storybook -p 6006" }, "keycloakify": { + "themeName": [ + "keycloakify-starter", + "keycloakify-starter-variant-1" + ], "extraThemeProperties": [ "foo=bar" - ], - "extraThemeNames": [ - "keycloakify-starter-variant-1" ] }, "author": "u/garronej", @@ -28,7 +29,7 @@ "dependencies": { "evt": "^2.4.15", "oidc-spa": "^2.0.2", - "keycloakify": "^8.4.1", + "keycloakify": "^9.1.2", "powerhooks": "^0.26.8", "react": "18.1.0", "react-dom": "18.1.0", diff --git a/yarn.lock b/yarn.lock index f982392..78e8643 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9760,10 +9760,10 @@ jwt-decode@^3.1.2: resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59" integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A== -keycloakify@^8.4.1: - version "8.4.1" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-8.4.1.tgz#2b716be894bf3bfe760d52014ffcdabde02bc2cf" - integrity sha512-Uv+HditKWNkAZ/QFERFymdjaPZ2qXkf8dJTRmg7Ej4NE6KbKmHzQpGGRrmEKRM1Y/ViQP90vmYDX6RdF/G5H8Q== +keycloakify@^9.1.2: + version "9.1.2" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.1.2.tgz#5d05abc69dc7239b08597b0e4a49d1b591351e8d" + integrity sha512-1NFVXryyuCnEMH0g4gj9vTWaomeUQSigP1TIQMb7NqdJi5wDjo9LRLqMvhD63p0QyTjNPzNyMOmEOkG617q3dg== dependencies: "@babel/generator" "^7.22.9" "@babel/parser" "^7.22.7"