adjust mac artifact names

This commit is contained in:
Benjamin Staneck 2021-01-03 18:51:58 +01:00
parent 60eddb15a2
commit b64e52135a
No known key found for this signature in database
GPG key ID: 74A90736869653C2
2 changed files with 5 additions and 4 deletions

View file

@ -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:

View file

@ -58,6 +58,7 @@
"arm64"
]
},
"artifactName": "${productName}-${version}-${channel}-${os}-${arch}.${ext}",
"category": "public.app-category.developer-tools",
"extendInfo": {
"CFBundleDocumentTypes": [