2022-11-14 00:09:09 -05:00
|
|
|
name: build-mod
|
|
|
|
on:
|
2024-07-28 01:48:37 -04:00
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "p*"
|
2022-11-14 00:09:09 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-the-mod:
|
2022-11-14 00:15:53 -05:00
|
|
|
runs-on: ubuntu-latest
|
2022-11-14 00:09:09 -05:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
actions: read
|
2022-11-14 00:14:01 -05:00
|
|
|
steps:
|
2024-07-28 01:48:37 -04:00
|
|
|
- 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 }}"
|