Exclude some artifacts from PR builds (#891)

This commit is contained in:
Michael Telatynski
2023-04-24 12:24:36 +01:00
committed by GitHub
parent ed8870dc9f
commit b6815b2731
3 changed files with 10 additions and 4 deletions

View File

@@ -147,9 +147,12 @@ jobs:
ln -s "$(find . -type f -iname "*.dmg" | xargs -0 -n1 -- basename)" "Element.dmg"
working-directory: "dist/install/macos"
# We exclude mac-universal as the unpacked app takes forever to upload and zip and dmg already contain it
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.deploy-mode && 'packages.element.io' || 'macos' }}
path: dist
path: |
dist
!dist/mac-universal/**
retention-days: 1