Skip to content

Commit

Permalink
add release
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaa6i committed Aug 8, 2024
1 parent 55f7d40 commit 652a187
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,27 @@ jobs:
path: ./dist_keycloak/keycloak-theme-for-kc-22-and-above.jar
if-no-files-found: warn

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }}
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist_keycloak/keycloak-theme-for-kc-22-and-above.jar
asset_name: keycloak-theme-for-kc-22-and-above.jar
asset_content_type: application/java-archive

- name: Add git note
run: |
git config --global user.email "[email protected]"
Expand Down

0 comments on commit 652a187

Please sign in to comment.