From a6de039ac10e3027837d25e35e244d1ea5d796c1 Mon Sep 17 00:00:00 2001 From: NepuShiro Date: Mon, 1 Jun 2026 15:16:41 -0500 Subject: [PATCH] Remove Web, and enable releases --- .github/workflows/main.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0276e6..53a5f70 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,6 +84,19 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v3 + - name: Create tag (required by Gitea) + id: create_tag + shell: bash + run: | + curl -s -X POST \ + -H "Authorization: token ${{ secrets.LIBSM64_TOKEN }}" \ + -H "Content-Type: application/json" \ + "https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/tags" \ + -d '{ + "tag_name": "build-${{ github.sha }}", + "target": "master" + }' + - name: Create release id: create_release shell: bash @@ -93,7 +106,7 @@ jobs: -H "Content-Type: application/json" \ "https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases" \ -d '{ - "tag_name": "latest", + "tag_name": "build-${{ github.sha }}", "name": "Snapshot Build", "prerelease": true }')