-
Notifications
You must be signed in to change notification settings - Fork 11
56 lines (44 loc) · 1.16 KB
/
build-pawket.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: build-pawket
on:
workflow_run:
workflows: [ci-chia-lib, ci-pawket-i18n]
types: [completed]
env:
VERSION: 0.3.${{ github.run_number }}
jobs:
build-pawket:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Install Dependencies
run: yarn
- name: Install Dependencies
run: |
sed -i 's/0.0.0.0/${VERSION}/' packages/pawket/.env.production
- name: Build pawket
run: |
yarn build:pawket
- name: version
run: |
echo ${VERSION}>dist/web/version.txt
- uses: actions/upload-artifact@v3
with:
name: pawket
path: dist/web
- name: Build mixch
run: |
yarn build:mixch
- name: version
run: |
echo ${VERSION}>dist/mixch/version.txt
- uses: actions/upload-artifact@v3
with:
name: mixch
path: dist/mixch