Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-02-13 11:11:36 +00:00
parent 991e78e27e
commit 068b7e32bb
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
3 changed files with 21 additions and 25 deletions

View File

@ -173,14 +173,6 @@ jobs:
env: env:
ARCH: ${{ steps.config.outputs.arch }} ARCH: ${{ steps.config.outputs.arch }}
- name: Assert all required files are present
run: |
set -x
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 # 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@v4 uses: actions/upload-artifact@v4
@ -190,3 +182,10 @@ jobs:
dist dist
!dist/*-unpacked/** !dist/*-unpacked/**
retention-days: 1 retention-days: 1
- name: Assert all required files are present
run: |
test -f ./dist/element-desktop*$ARCH.deb
test -f ./dist/element-desktop*.tar.gz
env:
ARCH: ${{ inputs.arch }}

View File

@ -134,14 +134,6 @@ jobs:
env: env:
VERSION: ${{ inputs.version }} VERSION: ${{ inputs.version }}
- name: Assert all required files are present
run: |
set -x
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 # We exclude mac-universal as the unpacked app takes forever to upload and zip and dmg already contains it
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -151,3 +143,8 @@ jobs:
dist dist
!dist/mac-universal/** !dist/mac-universal/**
retention-days: 1 retention-days: 1
- name: Assert all required files are present
run: |
test -f ./dist/Element*.dmg
test -f ./dist/Element*-mac.zip

View File

@ -175,19 +175,11 @@ jobs:
run: | run: |
yarn electron-builder --publish never -w ${{ steps.config.outputs.build-args }} yarn electron-builder --publish never -w ${{ steps.config.outputs.build-args }}
- name: Assert all required files are present
run: |
Test-Path './dist/win-*unpacked/Element*.exe'
Test-Path './dist/squirrel-windows*/Element Setup*.exe'
Test-Path './dist/squirrel-windows*/element-desktop-*-full.nupkg'
Test-Path './dist/squirrel-windows*/RELEASES'
Test-Path './dist/Element*.msi'
- name: Trust eSigner demo cert - name: Trust eSigner demo cert
if: inputs.sign == '' if: inputs.sign == ''
run: | run: |
Invoke-WebRequest -OutFile SSLcom-DEV.crt "$env:SSLCOM_DEV_CRT" Invoke-WebRequest -OutFile SSLcom-DEV.crt "$env:SSLCOM_DEV_CRT"
Import-Certificate -CertStoreLocation Cert:\CurrentUser\Root -FilePath .\SSLcom-DEV.crt Import-Certificate -CertStoreLocation Cert:\CurrentUser\My -FilePath ./SSLcom-DEV.crt
env: env:
INSTALL_DIR: C:\Users\runneradmin\eSignerCKA INSTALL_DIR: C:\Users\runneradmin\eSignerCKA
MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key
@ -205,3 +197,11 @@ jobs:
path: | path: |
dist dist
retention-days: 1 retention-days: 1
- name: Assert all required files are present
run: |
Test-Path './dist/win-*unpacked/Element*.exe'
Test-Path './dist/squirrel-windows*/Element Setup*.exe'
Test-Path './dist/squirrel-windows*/element-desktop-*-full.nupkg'
Test-Path './dist/squirrel-windows*/RELEASES'
Test-Path './dist/Element*.msi'