CI: Automatically create releases for pushed tags
All checks were successful
build-mod / build-the-mod (push) Successful in 37s
All checks were successful
build-mod / build-the-mod (push) Successful in 37s
This commit is contained in:
parent
7f945dc71f
commit
f9e24bfa1d
25
.github/workflows/build-mod.yml
vendored
25
.github/workflows/build-mod.yml
vendored
@ -1,11 +1,8 @@
|
|||||||
name: build-mod
|
name: build-mod
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
release:
|
tags:
|
||||||
types: [created]
|
- "p*"
|
||||||
pull_request:
|
|
||||||
|
|
||||||
permissions: read-all
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-the-mod:
|
build-the-mod:
|
||||||
@ -14,5 +11,17 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
actions: read
|
actions: read
|
||||||
steps:
|
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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user