SCED/.github/workflows/build-mod.yml
Adam Goldsmith f9e24bfa1d
All checks were successful
build-mod / build-the-mod (push) Successful in 37s
CI: Automatically create releases for pushed tags
2024-08-17 13:24:33 -04:00

28 lines
773 B
YAML

name: build-mod
on:
push:
tags:
- "p*"
jobs:
build-the-mod:
runs-on: ubuntu-latest
permissions:
contents: write
actions: read
steps:
- 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 }}"