From 402c6da5df4f21f6c43dfb11cc1d977b24196f08 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 11 Dec 2023 13:47:49 +0100 Subject: [PATCH] Preparation for main-pipeline --- .gitea/workflows/release-on-tag.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/release-on-tag.yml b/.gitea/workflows/release-on-tag.yml index 5b2de39..5f5dcf9 100644 --- a/.gitea/workflows/release-on-tag.yml +++ b/.gitea/workflows/release-on-tag.yml @@ -5,8 +5,6 @@ on: push: branches: - main - tags: - - "*" jobs: build: @@ -31,11 +29,19 @@ jobs: find: "{{branch}}" replace: ${{ github.ref }} include: "on-site-vtt/module.json" - - name: Pack and release - uses: actions/release-action@main + - name: Pack archive + uses: montudor/action-zip@v1 with: - title: ${{ github.ref_name }} - pre_release: false + args: zip -r on-site-vtt.zip on-site-vtt + - name: publish release + uses: https://gitea.aweleczka.de/actions/release-action@main + with: + title: dev-${{ steps.date.outputs.date }} + tag_name: dev-${{ steps.date.outputs.date }} + files: + - "LICENSE.txt" + - "README.md" + - "on-site-vtt/module.json" + - "on-site-vtt.zip" + pre_release: true api_key: "${{secrets.RELEASE_TOKEN}}" - files: |- - on-site-vtt/**