Update ci.yaml
This commit is contained in:
parent
72bcac53b5
commit
d941a2fdcb
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- run: yarn build-keycloak-theme
|
||||
- run: npm run build-keycloak-theme
|
||||
|
||||
check_if_version_upgraded:
|
||||
name: Check if version upgrade
|
||||
|
@ -41,7 +41,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- run: yarn build-keycloak-theme
|
||||
- run: npm run build-keycloak-theme
|
||||
- uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: Release v${{ needs.check_if_version_upgraded.outputs.to_version }}
|
||||
|
@ -49,9 +49,6 @@ jobs:
|
|||
target_commitish: ${{ github.head_ref || github.ref }}
|
||||
generate_release_notes: true
|
||||
draft: false
|
||||
files: |
|
||||
dist_keycloak/keycloak-theme-for-kc-21-and-below.jar
|
||||
dist_keycloak/keycloak-theme-for-kc-23.jar
|
||||
dist_keycloak/keycloak-theme-for-kc-24-and-above.jar
|
||||
files: dist_keycloak/keycloak-theme-*.jar
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue