From 09ddca69578b4806cb0e8ff42532470c10acce9a Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Tue, 17 Feb 2026 17:01:30 +0100 Subject: [PATCH] feat: add artifact unzipping step and update upload path in CI workflows --- .gitea/workflows/ci.yml | 7 ++++++- .gitea/workflows/dev.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2325f8a..5c7de64 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -49,11 +49,16 @@ jobs: - name: web-ext build run: npx web-ext build -s . -a dist --overwrite-dest + - name: Unzip build artifact + run: | + mkdir -p disst + unzip -o dist/*.zip -d disst + - name: Upload build artifact uses: actions/upload-artifact@v3 with: name: web-ext-build - path: dist/*.zip + path: disst/** - name: Publish to Mozilla Add-ons if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index f8414c1..719e350 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -24,12 +24,17 @@ jobs: - name: web-ext build run: npx web-ext build -s . -a dist --overwrite-dest + - name: Unzip build artifact + run: | + mkdir -p disst + unzip -o dist/*.zip -d disst + - name: Upload build artifact # v4+ not supported on Gitea Actions/Forgejo, use v3 for compatibility uses: actions/upload-artifact@v3 with: name: web-ext-build - path: dist/*.zip + path: disst/** - name: Push changes if: github.event_name == 'push'