Skip to content

Commit

Permalink
add network info in artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
goshiz committed Nov 12, 2021
1 parent b59f1d4 commit 3327b46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 47 deletions.
47 changes: 2 additions & 45 deletions .github/workflows/desktop.build.yml
Expand Up @@ -74,48 +74,5 @@ jobs:
- name: Upload Build
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
path: haven-desktop-app/out/make/

web-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14'

- name: Install client dependencies
working-directory: client
run: |
npm install
- name: Install latest wallet core
working-directory: client
run: |
npm install haven-wallet-core@latest --save
- name: Copy wallet core to root folder
working-directory: client
run: |
npm run copy-haven-core
- name: Audit client dependencies
working-directory: client
run: |
npm audit fix --production
- name: Client Build for Web
working-directory: client
env:
CI: false
run: |
npm run build:web:ci
- name: Upload web build
uses: actions/upload-artifact@v2
with:
name: web_build
path: client/build/

name: ${{ matrix.os }}-${{ matrix.network }}
path: haven-desktop-app/out/make/
4 changes: 2 additions & 2 deletions .github/workflows/web.build.yml
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI Desktop Vault
name: CI Web Vault

on:
push:
Expand Down Expand Up @@ -58,6 +58,6 @@ jobs:
- name: Upload web build
uses: actions/upload-artifact@v2
with:
name: web_build
name: web_build-${{ matrix.network }}
path: client/build/

0 comments on commit 3327b46

Please sign in to comment.