diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 595c400..c2fa0bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,3 +93,14 @@ jobs: git checkout stash module.json git commit -m "${{github.event.release.tag_name}} manifest" git push -f + + - name: Publish to Foundry Admin + if: "!github.event.release.prerelease" + run: npx @ghost-fvtt/foundry-publish + env: + FVTT_MANIFEST_PATH: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.json + FVTT_PACKAGE_ID: ${{ secrets.FVTT_PACKAGE_ID }} + FVTT_USERNAME: ${{ secrets.FVTT_USERNAME }} + FVTT_PASSWORD: ${{ secrets.FVTT_PASSWORD }} + FVTT_CHANGELOG_URL: ${{ github.event.release.html_url }} + FVTT_USE_NEW_PACKAGE_ADMINISTRATION_INTERFACE: true diff --git a/module.json b/module.json index d31729f..99798af 100644 --- a/module.json +++ b/module.json @@ -6,7 +6,7 @@ "library": "false", "minimumCoreVersion": "11", "compatibility": { - "minimum": "10", + "minimum": "11", "verified": "11", "maximum": "11" }, @@ -31,8 +31,8 @@ "id": "item-piles", "type": "module", "compatibility": { - "minimum": "2.8.6", - "verified": "2.8.6" + "minimum": "2.8.7", + "verified": "2.8.7" } }, {