mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Exclude some artifacts from PR builds (#891)
This commit is contained in:
parent
ed8870dc9f
commit
b6815b2731
4
.github/workflows/build_and_test.yaml
vendored
4
.github/workflows/build_and_test.yaml
vendored
@ -106,8 +106,8 @@ jobs:
|
|||||||
- name: macOS Universal
|
- name: macOS Universal
|
||||||
os: macos
|
os: macos
|
||||||
artifact: macos
|
artifact: macos
|
||||||
executable: "./dist/mac-universal/Element.app/Contents/MacOS/Element"
|
executable: "/Volumes/Element/Element.app/Contents/MacOS/Element"
|
||||||
prepare_cmd: "find ./dist/mac-universal/Element.app -type f | perl -lne 'print if -B' | tr '\\n' '\\0' | xargs -0 -n1 chmod 755"
|
prepare_cmd: "hdiutil attach ./dist/*.dmg -mountpoint /Volumes/Element"
|
||||||
- name: "Linux (amd64) (sqlcipher: system)"
|
- name: "Linux (amd64) (sqlcipher: system)"
|
||||||
os: ubuntu
|
os: ubuntu
|
||||||
artifact: linux-amd64-sqlcipher-system
|
artifact: linux-amd64-sqlcipher-system
|
||||||
|
5
.github/workflows/build_linux.yaml
vendored
5
.github/workflows/build_linux.yaml
vendored
@ -193,9 +193,12 @@ jobs:
|
|||||||
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
|
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
|
||||||
working-directory: "dist/install/linux/glibc-x86-64"
|
working-directory: "dist/install/linux/glibc-x86-64"
|
||||||
|
|
||||||
|
# We exclude *-unpacked as it loses permissions and the tarball contains it with correct permissions
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.deploy-mode && 'packages.element.io' || format('linux-{0}-sqlcipher-{1}', inputs.arch, inputs.sqlcipher) }}
|
name: ${{ inputs.deploy-mode && 'packages.element.io' || format('linux-{0}-sqlcipher-{1}', inputs.arch, inputs.sqlcipher) }}
|
||||||
path: dist
|
path: |
|
||||||
|
dist
|
||||||
|
!dist/*-unpacked/**
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
5
.github/workflows/build_macos.yaml
vendored
5
.github/workflows/build_macos.yaml
vendored
@ -147,9 +147,12 @@ jobs:
|
|||||||
ln -s "$(find . -type f -iname "*.dmg" | xargs -0 -n1 -- basename)" "Element.dmg"
|
ln -s "$(find . -type f -iname "*.dmg" | xargs -0 -n1 -- basename)" "Element.dmg"
|
||||||
working-directory: "dist/install/macos"
|
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
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.deploy-mode && 'packages.element.io' || 'macos' }}
|
name: ${{ inputs.deploy-mode && 'packages.element.io' || 'macos' }}
|
||||||
path: dist
|
path: |
|
||||||
|
dist
|
||||||
|
!dist/mac-universal/**
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user