-
Notifications
You must be signed in to change notification settings - Fork 335
42 lines (35 loc) · 1.04 KB
/
publish-lightwave.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
name: Publish Lightwave
on:
workflow_dispatch:
inputs:
version:
description: 'Release Version'
required: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: "${{ github.event.inputs.version }}"
jobs:
publish:
name: Publish Lightwave
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GIT_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Build lightwave
run: make publish-lightwave
env:
NODE_OPTIONS: '--max-old-space-size=8192'
- name: Publish to PyPI - lightwave
uses: pypa/gh-action-pypi-publish@master
with:
packages_dir: py/h2o_lightwave/dist
password: ${{ secrets.PYPI_LIGTHWAVE_TOKEN }}
- name: Publish to PyPI - lightwave_web
uses: pypa/gh-action-pypi-publish@master
with:
packages_dir: py/h2o_lightwave_web/dist
password: ${{ secrets.PYPI_LIGTHWAVE_WEB_TOKEN }}