From bab055c92021ea388c5ef82dbc06d680d42ffd82 Mon Sep 17 00:00:00 2001 From: Sven-Torben Janus Date: Sat, 8 May 2021 00:02:31 +0200 Subject: [PATCH] Add release action --- .github/workflows/buildAndRelease.yml | 19 +++++++++++++++++++ README.md | 2 +- RELEASELOG | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100755 RELEASELOG diff --git a/.github/workflows/buildAndRelease.yml b/.github/workflows/buildAndRelease.yml index ca78331..2ec6abd 100755 --- a/.github/workflows/buildAndRelease.yml +++ b/.github/workflows/buildAndRelease.yml @@ -26,3 +26,22 @@ jobs: ${{ runner.os }}-maven- - name: Build with Maven 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 }} diff --git a/README.md b/README.md index 6d5f2e6..834032f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# keycloak-restrict-client-auth +# Keycloak: Authenticator - Restrict client authentication A Keycloak authenticator to restrict authentication on clients diff --git a/RELEASELOG b/RELEASELOG new file mode 100755 index 0000000..6d26ae9 --- /dev/null +++ b/RELEASELOG @@ -0,0 +1 @@ +First version - just a preview \ No newline at end of file