fix: Sign, upload

This commit is contained in:
Felix Rieseberg 2020-07-27 18:12:27 -07:00
parent 0f91d7c62a
commit a05e37bdff

View File

@ -61,7 +61,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set MacOS signing certs
if: matrix.os == 'macos-latest'
if: matrix.os == 'macOS-latest'
run: chmod +x tools/add-osx-cert.sh && ./tools/add-osx-cert.sh
env:
CERTIFICATE_OSX_APPLICATION: ${{ secrets.MACOS_CERT_P12 }}
@ -83,6 +83,11 @@ jobs:
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
WINDOWS_CODESIGN_FILE: ${{ steps.write_file.outputs.filePath }}
WINDOWS_CODESIGN_PASSWORD: ${{ secrets.WINDOWS_CODESIGN_PASSWORD }}
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: out
path: out
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
@ -90,8 +95,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
electron-app/out/**/*.deb
electron-app/out/**/*.dmg
electron-app/out/**/*Setup.exe
electron-app/out/**/*.rpm
electron-app/out/**/*.zip
out/**/*.deb
out/**/*.dmg
out/**/*Setup.exe
out/**/*.rpm
out/**/*.zip