Skip to content

added tidy5e sheet compatibility #5

added tidy5e sheet compatibility

added tidy5e sheet compatibility #5

Workflow file for this run

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- '!v*-beta'
name: Upload Release Asset
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Extract Version From Tag
id: get_version
uses: battila7/get-version-action@v2
- name: Modify Module Manifest With Release-Specific Values
id: sub_manifest_link_version
uses: microsoft/variable-substitution@v1
with:
files: './module.json'
env:
version: ${{steps.get_version.outputs.version-without-v}}
url: https://github.com/${{github.repository}}
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
download: https://github.com/${{github.repository}}/releases/download/${{steps.get_version.outputs.version}}/module.zip
readme: https://github.com/Forien/foundryvtt-forien-armoury/blob/${{steps.get_version.outputs.version}}/README.md
changelog: https://github.com/Forien/foundryvtt-forien-armoury/blob/${{steps.get_version.outputs.version}}/CHANGELOG.md
bugs: https://github.com/${{github.repository}}/issues
- name: Zip files
run: |
zip -r module.zip module.json CHANGELOG.md README.md LICENSE icons/ lang/ languages/ modules/ packs/ scripts/ styles/ templates/
- name: Update Release with Files
id: create_version_release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
name: Release ${{steps.get_version.outputs.version}}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './module.json, ./module.zip'
tag: ${{ github.ref }}