From 4cd556b3e0a6238cb62e391fc611de24de0be231 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Sun, 3 Jul 2022 09:43:52 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56d1f9d..2e220d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,4 +44,12 @@ jobs: -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Content-Type: application/zip" \ --data-binary @"$filename" \ - "$url" \ No newline at end of file + "$url" + - name: Publish to jMonkeyEngine Library + if: github.event_name == 'release' + uses: jMonkeyEngine/jme-library-publish-action@1.0 + with: + userId: ${{ secrets.LIBRARY_USER_ID }} + authId: ${{ secrets.LIBRARY_AUTH_ID }} + authKey: ${{ secrets.LIBRARY_AUTH_KEY }} + token: ${{ secrets.GITHUB_TOKEN }}