publish from github actions

This commit is contained in:
Labhansh Agrawal 2021-06-03 08:18:06 +05:30
parent 8962dc4aef
commit 57800fbf0e
2 changed files with 4 additions and 2 deletions

View file

@ -37,8 +37,9 @@ jobs:
run: yarn run dist --publish=never
- name: Build (push)
if: github.event_name == 'push'
run: yarn run dist --publish=never
run: yarn run dist
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.MAC_CERT_P12_BASE64 }}
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_P12_PASSWORD }}
WIN_CSC_LINK: ${{ secrets.WIN_CERT_P12_BASE64 }}

View file

@ -120,7 +120,8 @@
"afterInstall": "./build/linux/after-install.tpl"
},
"snap": {
"confinement": "classic"
"confinement": "classic",
"publish": "github"
},
"protocols": {
"name": "ssh URL",