From b945a019b2b37157286b3ff053c7800c0147439d Mon Sep 17 00:00:00 2001 From: DannyAAM Date: Fri, 18 Jul 2025 00:29:09 +0800 Subject: [PATCH] add workflow to put 3ds scripts into release --- .github/workflows/3ds-scripts-release.yml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/3ds-scripts-release.yml diff --git a/.github/workflows/3ds-scripts-release.yml b/.github/workflows/3ds-scripts-release.yml new file mode 100644 index 0000000..8256dc1 --- /dev/null +++ b/.github/workflows/3ds-scripts-release.yml @@ -0,0 +1,30 @@ +name: Release 3DS scripts + +on: + push: + branches: [ master ] + paths: [ '3DS/*.gm9', '3DS/*.lua' ] + workflow_dispatch: + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + + - uses: rickstaa/action-create-tag@v1 + with: + tag: 3ds + force_push_tag: true + + - uses: softprops/action-gh-release@v2 + with: + name: 3DS Scripts + tag_name: 3ds + prerelease: true + files: | + 3DS/*.lua + 3DS/*.gm9