Add release action

This commit is contained in:
Sven-Torben Janus 2021-05-08 00:02:31 +02:00
parent 30c3e5756a
commit bab055c920
3 changed files with 21 additions and 1 deletions

View file

@ -26,3 +26,22 @@ jobs:
${{ runner.os }}-maven- ${{ runner.os }}-maven-
- name: Build with Maven - name: Build with Maven
run: mvn -B clean package --file pom.xml run: mvn -B clean package --file pom.xml
release:
runs-on: ubuntu-latest
needs: build
steps:
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/keycloak-restrict-client-auth.jar
body_path: RELEASELOG
draft: true
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,2 +1,2 @@
# keycloak-restrict-client-auth # Keycloak: Authenticator - Restrict client authentication
A Keycloak authenticator to restrict authentication on clients A Keycloak authenticator to restrict authentication on clients

1
RELEASELOG Executable file
View file

@ -0,0 +1 @@
First version - just a preview