Update version #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Master workflow | |
| on: | |
| push: | |
| branches: | |
| - master | |
| env: | |
| GH_TOKEN: ${{ secrets.DEPLOY_TOKEN }} | |
| jobs: | |
| build-macos: | |
| runs-on: macos-13 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| - name: Build | |
| run: | | |
| . ./scripts/ci_common.sh | |
| npx electron-builder --mac | |
| build-windows: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| - name: Build | |
| shell: bash -l {0} | |
| run: | | |
| npm config set script-shell bash | |
| . ./scripts/ci_common.sh | |
| npx electron-builder --win | |
| build-linux: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| - name: Build | |
| run: | | |
| . ./scripts/ci_common.sh | |
| npx electron-builder --linux | |
| - name: dev deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| token: ${{ secrets.DEPLOY_TOKEN }} | |
| branch: master | |
| folder: dist | |
| repository-name: awesome-schedule/awesome-schedule.github.io |