Skip to content

Nightly

Nightly #871

Workflow file for this run

name: Nightly
on:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
push:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 14
- name: Upgrade whistle
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
npm run upgrade:whistle
- name: Install deps
run: |
npm run install-deps
npm run nightlyversion
- name: build windows app
if: matrix.os == 'windows-2016'
run: |
npm run dist:win
env:
GH_TOKEN: ${{ secrets.github_token }}
- name: build app
shell: bash
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
npm run dist:win
fi
if [[ "$RUNNER_OS" == "macOS" ]]; then
npm run dist:mac
fi
if [[ "$RUNNER_OS" == "Linux" ]]; then
npm run dist:linux
fi
env:
GH_TOKEN: ${{ secrets.github_token }}
- name: upload app
uses: actions/upload-artifact@v2
with:
name: iProxyNightly-${{ runner.OS }}
path: |
release/*.exe
release/*.dmg
release/*.AppImage