Skip to content

Commit

Permalink
Trigger JitPack on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipen committed Sep 1, 2023
1 parent 18915fb commit 8b5b9d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,11 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
juliet-*/build/libs/*.jar
files: juliet-*/build/libs/*.jar

- name: Trigger JitPack build on release tag
if: startsWith(github.ref, 'refs/tags/')
run:
VERSION="${GITHUB_REF/refs\/tags\/v/}"
JITPACK_URL="https://jitpack.io/com/github/${{ github.repository }}/${VERSION}/maven-metadata.xml"
curl -s -m 30 "${JITPACK_URL}" || true

0 comments on commit 8b5b9d6

Please sign in to comment.