Nightly Build #657
This file contains 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: Nightly Build | |
on: | |
workflow_dispatch: ~ | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2.5.1 | |
with: | |
node-version: '16' | |
- name: Install frontend dependencies | |
run: npm install | |
- name: Build package | |
run: make build | |
- name: Rename package | |
run: mv build.zip gitlist-nightly.zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: nightly | |
tag_name: nightly | |
prerelease: true | |
body: Nightly release generated from `master` at 12 AM UTC. | |
files: gitlist-nightly.zip |