From b64e52135ae71ef93c2860444c3ffd49865541ce Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Sun, 3 Jan 2021 18:51:58 +0100 Subject: [PATCH] adjust mac artifact names --- .github/workflows/nodejs.yml | 8 ++++---- electron-builder.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1dae9448..dc8d30bc 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,10 +37,10 @@ jobs: - name: Get macOS Artifact Names id: getmacosfilename run: | - echo "::set-output name=dmgName::$(ls dist/*.dmg | cut -d'/' -f2)" - echo "::set-output name=dmgPath::$(ls dist/*.dmg)" - echo "::set-output name=armDmgName::$(ls dist/*arm64.dmg | cut -d'/' -f2)" - echo "::set-output name=armDmgPath::$(ls dist/*arm64.dmg)" + echo "::set-output name=dmgName::$(ls dist/*-mac.dmg | cut -d'/' -f2)" + echo "::set-output name=dmgPath::$(ls dist/*-mac.dmg)" + echo "::set-output name=armDmgName::$(ls dist/*-mac-arm64.dmg | cut -d'/' -f2)" + echo "::set-output name=armDmgPath::$(ls dist/*-mac-arm64.dmg)" - name: Archive macOS Build Artifacts uses: actions/upload-artifact@v2 with: diff --git a/electron-builder.json b/electron-builder.json index 3d39d720..61ba9bd3 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -58,6 +58,7 @@ "arm64" ] }, + "artifactName": "${productName}-${version}-${channel}-${os}-${arch}.${ext}", "category": "public.app-category.developer-tools", "extendInfo": { "CFBundleDocumentTypes": [