Rewrite: freemarker template instead of keycloakify #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: $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: | | |
keycloak-theme-world-direct.jar | |
draft: true |