From 6ff8395806b7a735395eea790302a7a236961325 Mon Sep 17 00:00:00 2001 From: Cameron <25549143+eastcw@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:36:28 +0100 Subject: [PATCH] added back the foundry release action to the workflow --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0ecc79..1e8fa01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: id: sub_manifest_link_version uses: microsoft/variable-substitution@v1 with: - files: 'src/${{ env.package_type }}.json' + files: "src/${{ env.package_type }}.json" env: version: ${{ steps.get_version.outputs.version-without-v }} url: https://github.com/${{ github.repository }} @@ -116,16 +116,16 @@ jobs: allowUpdates: true name: ${{ github.event.release.name }} token: ${{ secrets.GITHUB_TOKEN }} - artifacts: './dist/${{ env.package_type }}.json, ./${{ env.package_type }}.zip' + artifacts: "./dist/${{ env.package_type }}.json, ./${{ env.package_type }}.zip" body: ${{ github.event.release.body }} prerelease: ${{ github.event.release.prerelease }} # Publish this new version to the Foundry VTT Module Listing -# - name: FoundryVTT AutoPublish -# uses: Varriount/fvtt-autopublish@v2.0.2 -# with: -# username: ${{ secrets.FOUNDRY_ADMIN_USER }} -# password: ${{ secrets.FOUNDRY_ADMIN_PW }} -# module-id: ${{ secrets.FOUNDRY_MODULE_ID }} -# manifest-url: https://github.com/${{github.repository}}/releases/download/v${{ steps.get_version.outputs.version-without-v }}/module.json -# manifest-file: src/module.json + - name: FoundryVTT AutoPublish + uses: Varriount/fvtt-autopublish@v2.0.2 + with: + username: ${{ secrets.FOUNDRY_ADMIN_USER }} + password: ${{ secrets.FOUNDRY_ADMIN_PW }} + module-id: ${{ secrets.FOUNDRY_MODULE_ID }} + manifest-url: https://github.com/${{github.repository}}/releases/download/v${{ steps.get_version.outputs.version-without-v }}/module.json + manifest-file: src/module.json