Browse Source

Merge branch 'master' into canary

master
Ivan Bravo Bravo 3 years ago
parent
commit
797b0eb253
  1. 21
      .github/workflows/ci.yml
  2. 1
      scripts/release.js

21
.github/workflows/ci.yml

@ -5,7 +5,6 @@ on: @@ -5,7 +5,6 @@ on:
branches:
- master
- canary
- ivan
tags:
- v*
@ -102,31 +101,11 @@ jobs: @@ -102,31 +101,11 @@ jobs:
run: |
yarn install
- name: Setup - DreamPower
if: false
run: |
${{ matrix.python }} -m pip install pyinstaller
${{ matrix.python }} -m pip install numpy==1.16.4
${{ matrix.python }} -m pip install pillow==6.1.0
${{ matrix.python }} -m pip install opencv-python==4.1.0.25
${{ matrix.python }} -m pip install rsa==4.0
${{ matrix.python }} -m pip install imageio==2.5.0
${{ matrix.python }} -m pip install python-dotenv==0.10.3
${{ matrix.python }} -m pip install rook==0.1.73
${{ matrix.python }} -m pip install sentry-sdk==0.10.2
${{ matrix.python }} -m pip --no-cache-dir install ${{ matrix.torch-version }}
${{ matrix.python }} -m pip --no-cache-dir install torchvision==0.2.2.post3
- name: Setup - DreamPower
working-directory: scripts
run: |
${{ matrix.python }} setup.py --debug --pip_no_cache_dir ${{ matrix.setup-args }}
- name: Build - DreamPower
if: false
run: |
${{ matrix.python }} -m PyInstaller main.py -y --onedir --name "dreampower" --distpath "../../dist" ${{ matrix.pyinstaller-args }}
- name: Build - DreamPower
working-directory: scripts
run: |

1
scripts/release.js

@ -151,6 +151,7 @@ async function upload(filePath, fileName) { @@ -151,6 +151,7 @@ async function upload(filePath, fileName) {
}
function zip() {
console.log('Compressing build...')
process.chdir(buildPath)
const deferred = new Deferred()

Loading…
Cancel
Save