Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-02-13 10:48:13 +00:00
parent 0e22ef3303
commit 83f805efb3
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
3 changed files with 16 additions and 2 deletions

View File

@ -35,12 +35,12 @@ jobs:
- name: Windows (x64) Squirrel
os: windows-2022
artifact: win-x64
executable: "%LOCALAPPDATA%\element-desktop*\Element.exe"
executable: "%LOCALAPPDATA%/element-desktop*/Element.exe"
prepare_cmd: "./dist/squirrel-windows*/Element Setup*.exe"
- name: Windows (x64) MSI
os: windows-2022
artifact: win-x64
executable: "C:\Program Files*\Element\Element*.exe"
executable: "C:/Program Files*/Element/Element*.exe"
prepare_cmd: "msiexec ./dist/Element*.msi"
name: Test ${{ matrix.name }}
runs-on: ${{ matrix.os }}

View File

@ -173,6 +173,13 @@ jobs:
env:
ARCH: ${{ steps.config.outputs.arch }}
- name: Assert all expected files are present
run: |
test -f ./dist/element-desktop*$ARCH.deb
test -f ./dist/element-desktop*.tar.gz
env:
ARCH: ${{ inputs.arch }}
# We exclude *-unpacked as it loses permissions and the tarball contains it with correct permissions
- name: Upload Artifacts
uses: actions/upload-artifact@v4

View File

@ -134,6 +134,13 @@ jobs:
env:
VERSION: ${{ inputs.version }}
- name: Assert all expected files are present
run: |
test -f ./dist/Element*.dmg
test -f ./dist/Element*-mac.zip
test -f ./dist/releases.json
test -f ./dist/releases-legacy.json
# We exclude mac-universal as the unpacked app takes forever to upload and zip and dmg already contains it
- name: Upload Artifacts
uses: actions/upload-artifact@v4