From 6cfa00d7a189c669bddff1295d40f6bfbd65edb2 Mon Sep 17 00:00:00 2001 From: Jonas Karlsson Date: Fri, 8 Dec 2023 17:23:04 +0100 Subject: [PATCH] fix: Update test-release.yml Give varriount's variant a try. --- .github/workflows/test-release.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 0cab3ae69..1ea01a153 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -86,14 +86,24 @@ jobs: - name: Install playwright run: npx playwright install - - name: Publish to Foundry VTT Repo - id: publish_foundry_repo - run: npx @ghost-fvtt/foundry-publish - env: - FVTT_MANIFEST_PATH: 'static/system.json' - FVTT_PACKAGE_ID: ${{ 468 }} - FVTT_USERNAME: ${{ secrets.FOUNDRY_ADMIN_USERNAME }} - FVTT_PASSWORD: ${{ secrets.FOUNDRY_ADMIN_PASSWORD }} +# - name: Publish to Foundry VTT Repo +# id: publish_foundry_repo +# run: npx @ghost-fvtt/foundry-publish +# env: +# FVTT_MANIFEST_PATH: 'static/system.json' +# FVTT_PACKAGE_ID: ${{ 468 }} +# FVTT_USERNAME: ${{ secrets.FOUNDRY_ADMIN_USERNAME }} +# FVTT_PASSWORD: ${{ secrets.FOUNDRY_ADMIN_PASSWORD }} + + # Publish the release to FoundryVTT's package repository. + - name: Publish Module to FoundryVTT Website + uses: Varriount/fvtt-autopublish@latest + with: + username: ${{ secrets.FOUNDRY_ADMIN_USERNAME }} + password: ${{ secrets.FOUNDRY_ADMIN_PASSWORD }} + module-id: 468 + manifest-url: https://github.com/${{ github.repository }}/releases/download/${{ env.RELEASE_NAME }}/module.json + manifest-file: 'static/system.json' # # Publish the release to FoundryVTT's package repository # - name: Publish to Foundry Admin