Compare commits

..

2 Commits

Author SHA1 Message Date
cbd207c734 CI: Automatically create releases for pushed tags
All checks were successful
build-mod / build-the-mod (push) Successful in 14s
2024-08-09 21:35:33 -04:00
72e833a99e Fix attribute name for matColor in actualEncounterCardDraw 2024-08-09 21:22:11 -04:00
2 changed files with 18 additions and 9 deletions

View File

@ -1,11 +1,8 @@
name: build-mod
on:
workflow_dispatch:
release:
types: [published]
pull_request:
permissions: read-all
push:
tags:
- "p*"
jobs:
build-the-mod:
@ -14,5 +11,17 @@ jobs:
contents: write
actions: read
steps:
- uses: argonui/TTSModManager.action@v1.0.0
- uses: actions/checkout@v3
- run: wget https://github.com/argonui/TTSModManager/releases/download/v1.2.1/TTSModManager-Linux
shell: bash
- run: chmod +x TTSModManager-Linux
shell: bash
- run: ./TTSModManager-Linux -moddir="./" -modfile="./SCED ${{ github.ref_name }}.json"
shell: bash
- name: Create Release
uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
files: "SCED ${{ github.ref_name }}.json"
name: "Patched ${{ github.ref_name }}"

View File

@ -180,7 +180,7 @@ end
-- draw the provided card to the requesting playermat
function actualEncounterCardDraw(card, params)
card.deal(1, params.mat.matColor)
card.deal(1, params.matColor)
end
-- gets the discard pile and shuffles it into the encounter deck