From 1a58e61d36e426b6b9af0377ff2b784c8fa04031 Mon Sep 17 00:00:00 2001 From: MrRaph_ Date: Tue, 3 Dec 2024 16:14:28 +0100 Subject: [PATCH] . --- .gitea/workflows/build-and-release.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/build-and-release.yml b/.gitea/workflows/build-and-release.yml index 768e916..13abcb9 100644 --- a/.gitea/workflows/build-and-release.yml +++ b/.gitea/workflows/build-and-release.yml @@ -31,22 +31,11 @@ jobs: MB_PLUGIN_DIR: ${{ github.workspace }} - name: Upload Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plugin path: fr.mrraph.hoarder-bot-*.mbp - - release: - name: Release Plugin - needs: build - runs-on: ubuntu-latest - - steps: - - name: Download Build Artifact - uses: actions/download-artifact@v3 - with: - name: plugin - + - name: Create Release uses: gitea/create-release@v1 env: @@ -68,6 +57,6 @@ jobs: uses: actions/upload-release-asset@v1 with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: dist/*.mbp - asset_name: plugin-${{ github.ref_name }}.mbp + asset_path: fr.mrraph.hoarder-bot-*.mbp + asset_name: r.mrraph.hoarder-bot-${{ github.ref_name }}.mbp asset_content_type: application/octet-stream \ No newline at end of file