SCED/.github/workflows/build-mod.yml

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 }}"