From 2a0701c8f40741af9104c5270ac207f28053785f Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 28 Apr 2024 09:58:05 -0400 Subject: [PATCH] Switch to JS based release action --- .gitea/workflows/build-and-release.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build-and-release.yaml b/.gitea/workflows/build-and-release.yaml index 3e3a7de24..98dde3442 100644 --- a/.gitea/workflows/build-and-release.yaml +++ b/.gitea/workflows/build-and-release.yaml @@ -20,14 +20,10 @@ jobs: run: tts_yaml_unpacker pack unpacked.yaml "Arkham SCE Adam_${{ github.ref_name }}.json" - name: zip json run: python -m zipfile -c "Arkham SCE Adam_${{ github.ref_name }}.zip" "Arkham SCE Adam_${{ github.ref_name }}.json" - - - name: setup go - uses: actions/setup-go@v4 - with: - go-version: '>=1.20.1' - name: Create Release - uses: https://gitea.com/actions/release-action@main + uses: akkuman/gitea-release-action@v1 + env: + NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 with: - api_key: '${{secrets.RELEASE_TOKEN}}' files: "Arkham SCE Adam_${{ github.ref_name }}.zip" - title: "Patched ${{ github.ref_name }}" + name: "Patched ${{ github.ref_name }}"