aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar garronej <[email protected]>2023-03-17 16:40:24 +0100
committerGravatar garronej <[email protected]>2023-03-17 16:40:24 +0100
commit57138e332feec4f0deeb8a62730795c10027355f (patch)
tree38ce36cefadbfbd55f43b86e2dacca4f6b059043 /.github
parentFix CI (diff)
Fix CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml12
1 files changed, 2 insertions, 10 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 7810ce2..a950206 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -19,7 +19,7 @@ jobs:
node-version: '16'
- uses: bahmutov/npm-install@v1
- run: yarn build
- - run: echo $(node -e 'console.log(require("url").parse(require(\"./package.json\").homepage).host)') > build/CNAME
+ - run: echo $(node -e 'console.log(require("url").parse(require("./package.json").homepage).host)') > build/CNAME
- run: npx keycloakify
- uses: actions/upload-artifact@v2
with:
@@ -42,7 +42,6 @@ jobs:
outputs:
from_version: ${{ steps.step1.outputs.from_version }}
to_version: ${{ steps.step1.outputs.to_version }}
- is_upgraded_version: ${{ steps.step1.outputs.is_upgraded_version }}
steps:
- uses: garronej/[email protected]
id: step1
@@ -101,13 +100,7 @@ jobs:
needs:
- check_if_version_upgraded
# We create a release only if the version have been upgraded and we are on a default branch
- # PR on the default branch can release beta but not real release
- if: |
- needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' &&
- (
- github.event_name == 'push' ||
- needs.check_if_version_upgraded.outputs.is_release_beta == 'true'
- )
+ if: needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' && github.event_name == 'push'
steps:
- uses: actions/download-artifact@v2
with:
@@ -128,7 +121,6 @@ jobs:
jars/keycloak-theme.jar
jars/standalone-keycloak-theme.jar
draft: false
- prerelease: ${{ needs.check_if_version_upgraded.outputs.is_release_beta == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}