Add release action
This commit is contained in:
parent
30c3e5756a
commit
bab055c920
3 changed files with 21 additions and 1 deletions
19
.github/workflows/buildAndRelease.yml
vendored
19
.github/workflows/buildAndRelease.yml
vendored
|
@ -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 }}
|
||||||
|
|
|
@ -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
1
RELEASELOG
Executable file
|
@ -0,0 +1 @@
|
||||||
|
First version - just a preview
|
Loading…
Reference in a new issue