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 }}