feat: add artifact unzipping step and update upload path in CI workflows
All checks were successful
CI / build-and-publish (push) Successful in 10s

This commit is contained in:
Space-Banane
2026-02-17 17:01:30 +01:00
parent 24a18e8f8e
commit 09ddca6957
2 changed files with 12 additions and 2 deletions

View File

@@ -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')

View File

@@ -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'