From 9e1776d7e7f603f6bdf0038c65d79516b16cc82e Mon Sep 17 00:00:00 2001 From: onemen Date: Tue, 5 Mar 2024 12:46:30 +0200 Subject: [PATCH] use upload-artifact to zip addon folder --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6354b2c..7f617895 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,21 +37,17 @@ jobs: - name: Set XPI file name run: | - echo "XPI_NAME=tabmix-dev-build-${{ env.VERSION }}-${{ env.DATE }}.xpi" >> $GITHUB_ENV + echo "XPI_NAME=tabmix-dev-build-${{ env.VERSION }}-${{ env.DATE }}" >> $GITHUB_ENV - name: Replace version in install.rdf run: | sed -i "s/1.0.0-unbundeled/${{ env.VERSION }}-${{ env.DATE }}/" addon/install.rdf - - name: Zip addon folder - run: zip -r ${{ env.XPI_NAME }} addon/* - - name: Upload XPI to Release uses: actions/upload-artifact@v4 with: name: ${{ env.XPI_NAME }} - path: ${{ env.XPI_NAME }} - if-no-files-found: error + path: addon/ # - name: Create Release (optional) # uses: ncipollo/release-action@v3