mirror of
https://github.com/BloopAI/setup-zig.git
synced 2026-08-23 12:18:33 +00:00
Auto-rebuild dist files using Github Actions (#8)
* ci: auto-build the dist files * Rebuild * ci: only rebuild on release branches * ci: support any version branch Co-authored-by: Automated <github@asdf.kooi.me>
This commit is contained in:
21
.github/workflows/build.yml
vendored
Normal file
21
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'default'
|
||||
- 'v[0-9]+'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- uses: EndBug/add-and-commit@v4
|
||||
with:
|
||||
add: dist
|
||||
message: Rebuild
|
||||
author_name: Automated
|
||||
author_email: github@asdf.kooi.me
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
Reference in New Issue
Block a user