From 5d9980e14d8787ea0b8457e135babc6f278b995c Mon Sep 17 00:00:00 2001 From: streamer45 Date: Tue, 17 Sep 2024 12:44:17 -0600 Subject: [PATCH 1/2] Fix path of downloaded artifact --- .github/workflows/build-and-deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 2b48ffc..42c7e33 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -51,15 +51,14 @@ jobs: env: AWS_DEFAULT_REGION: us-east-1 steps: - - name: build/checkout-repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: deploy/install-dependencies run: npm i -g "serverless@<4.0.0" - name: deploy/download-build uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 with: name: marketplace-build - path: dist/mattermost-marketplace.zip + path: dist + merge-multiple: true # Required because of https://github.com/actions/upload-artifact/issues/38 - name: deploy/set-artifact-permissions run: chmod +x dist/* From eeba65e920aa3595f57be2373d627dc6242d9fa3 Mon Sep 17 00:00:00 2001 From: streamer45 Date: Tue, 17 Sep 2024 12:55:39 -0600 Subject: [PATCH 2/2] Fix --- .github/workflows/build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 42c7e33..712a280 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -38,6 +38,7 @@ jobs: name: marketplace-build path: dist/mattermost-marketplace.zip retention-days: 2 + compression-level: 0 deploy: if: ${{ github.repository == 'mattermost/mattermost-marketplace' && (github.ref_name == 'master' || github.ref_name == 'production') }} @@ -58,7 +59,6 @@ jobs: with: name: marketplace-build path: dist - merge-multiple: true # Required because of https://github.com/actions/upload-artifact/issues/38 - name: deploy/set-artifact-permissions run: chmod +x dist/*