Merge pull request #885 from gnosis/fix/build-artifacts

Upload Artifacts when building desktop
This commit is contained in:
Mati Dastugue 2020-05-07 16:17:11 -03:00 committed by GitHub
commit d88c642aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -6,6 +6,7 @@ on:
branches:
# this will run on the specified branch
- master
- development
env:
REACT_APP_BLOCKNATIVE_KEY: ${{ secrets.REACT_APP_BLOCKNATIVE_KEY }}
@ -34,14 +35,12 @@ jobs:
shell: powershell
run: |
yarn global add --production windows-build-tools --vs2015 --msvs_version=2015
- name: Install node-gyp
if: startsWith(matrix.os, 'windows')
shell: powershell
run: |
yarn global add node-gyp
yarn config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
@ -70,3 +69,10 @@ jobs:
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: 'Upload Artifacts'
if: contains(github.ref, "development")
uses: actions/upload-artifact@v2
with:
name: desktop-artifacts
path: ./dist/Safe[ ]Multisig*.*