diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acbf253b..5aa36698 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,20 +5,50 @@ on: types: [published, created, edited, prereleased] jobs: + # Windows build-win: name: Build (Windows) runs-on: windows-latest steps: + # Setup + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + + # Build - run: npm run electron:build -- -w # -p always + # macOS build-mac: name: Build (macOS) runs-on: macos-latest steps: + # Setup + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + + # Build - run: npm run electron:build -- -m # -p always + # Linux build-linux: name: Build (Linux) runs-on: ubuntu-latest steps: + # Setup + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + + # Build - run: npm run electron:build -- -l # -p always