chore(main): release foundry-mcp-server 0.11.0 (#80) #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build FoundryVTT Module | |
on: | |
push: | |
tags: | |
- 'foundry-mcp-server-v*.*.*' | |
permissions: | |
contents: write | |
jobs: | |
build-foundry-module: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm ci | |
- name: Generate module.json | |
run: npm run process-template | |
- name: Create FoundryVTT module zip | |
run: | | |
cd foundry-local-rest-api | |
zip -r ../foundry-local-rest-api.zip . -x "*.git*" "node_modules/*" "*.DS_Store*" "module.json.template" | |
cd .. | |
- name: Upload FoundryVTT module artifacts | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh release upload "${{ github.ref_name }}" foundry-local-rest-api.zip foundry-local-rest-api/module.json |