Skip to content

build

build #66

Workflow file for this run

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 }}