Skip to content

Commit

Permalink
Don't do Foundry Release API in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moonwolf-github committed May 9, 2024
1 parent 6e262dd commit 0a13300
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
path: 'system.json'
prop_path: 'compatibility.maximum'

- name: Foundry Release API
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.foundryvtt.com/_api/packages/release_version'
method: 'POST'
customHeaders: '{"Content-Type": "application/json", "Authorization" : "${{ secrets.FOUNDRY_KEY }}"}'
data: '{"dry_run": false, "id" : "${{steps.systemID.outputs.prop}}", "release": {"version" : "${{steps.tag.outputs.tag}}", "manifest": "https://raw.githubusercontent.com/${{github.repository}}/${{steps.tag.outputs.tag}}/system.json", "notes" : "https://github.com/${{github.repository}}/releases/tag/${{steps.tag.outputs.tag}}", "compatibility" : {"minimum": "${{steps.minimum.outputs.prop}}", "verified": "${{steps.verified.outputs.prop}}", "maximum": "${{steps.maximum.outputs.prop}}"} } }'
# - name: Foundry Release API
# uses: fjogeleit/http-request-action@v1
# with:
# url: 'https://api.foundryvtt.com/_api/packages/release_version'
# method: 'POST'
# customHeaders: '{"Content-Type": "application/json", "Authorization" : "${{ secrets.FOUNDRY_KEY }}"}'
# data: '{"dry_run": false, "id" : "${{steps.systemID.outputs.prop}}", "release": {"version" : "${{steps.tag.outputs.tag}}", "manifest": "https://raw.githubusercontent.com/${{github.repository}}/${{steps.tag.outputs.tag}}/system.json", "notes" : "https://github.com/${{github.repository}}/releases/tag/${{steps.tag.outputs.tag}}", "compatibility" : {"minimum": "${{steps.minimum.outputs.prop}}", "verified": "${{steps.verified.outputs.prop}}", "maximum": "${{steps.maximum.outputs.prop}}"} } }'

# - name: Generate Changelog
# id: changelog
Expand Down

0 comments on commit 0a13300

Please sign in to comment.