Fixes #70
Workflow file for this run
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: build | |
on: | |
push: | |
paths: | |
- 'src/**' | |
workflow_dispatch: | |
jobs: | |
update: | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: disable auto crlf | |
uses: steve02081504/disable-autocrlf@v1 | |
with: | |
fuck-auto-CRLF: true | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- run: npm install #install 过程中dist就已经被构建好了 | |
- name: add all | |
run: git add -A | |
- name: push | |
uses: actions-go/push@master | |
with: | |
author-email: [email protected] | |
author-name: Taromati2 | |
commit-message: 'file update~' | |
remote: origin | |
token: ${{ secrets.BOT_TOKEN }} |