Skip to content

Rewrite: freemarker template instead of keycloakify #46

Rewrite: freemarker template instead of keycloakify

Rewrite: freemarker template instead of keycloakify #46

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
ARTIFACT_NAME: keycloak-theme-world-direct.jar
defaults:
run:
working-directory: ./src
jobs:
build:
runs-on: ubuntu-latest
if: github.event.head_commit.author.name != 'actions'
steps:
- uses: actions/checkout@v4
- name: Create jar artifact
run: |
zip -r $ARTIFACT_NAME *
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: keycloak-theme
path: src/$ARTIFACT_NAME
- name: Create Release when we a tag ref has been created
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
$ARTIFACT_NAME
draft: true