Skip to content

Rewrite: freemarker template instead of keycloakify #44

Rewrite: freemarker template instead of keycloakify

Rewrite: freemarker template instead of keycloakify #44

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
ARTIFACT_NAME: keycloak-theme-world-direct.jar
jobs:
build:
runs-on: ubuntu-latest
if: github.event.head_commit.author.name != 'actions'
steps:
- uses: actions/checkout@v4
- name: Create jar artifact
run: |
cd src
zip -r $ARTIFACT_NAME *
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: keycloak-theme
path: src/$ARTIFACT_NAME
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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: |
src/$ARTIFACT_NAME
draft: true