From b1a0a1fc6a448af44c91d182f83066ca13c0d8af Mon Sep 17 00:00:00 2001 From: "Stephane Lacoin (aka nxmatic)" Date: Mon, 11 Mar 2024 12:20:38 +0100 Subject: [PATCH] BDE-226 attach zip files to the build --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f38c4b66..c1e2e6d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,13 @@ on: jobs: deploy: + permissions: + checks: write + contents: read + id-token: write + packages: write + pull-requests: write + statuses: write runs-on: - ${{ github.repository_owner != github.actor && 'ubuntu-latest' || 'self-hosted' }} @@ -49,3 +56,15 @@ jobs: - name: Build run: pnpm build:chrome + + - name: Zip the packages + run: | + pushd dist + zip -r chrome.zip chrome + popd + + - name: Upload build artifact + uses: actions/upload-artifact@v2 + with: + name: chrome + path: ./dist/chrome.zip