Create check-dist.yml

This commit is contained in:
xrkffgg
2020-12-30 09:22:40 +08:00
committed by GitHub
parent 3cd24426bf
commit a2273a4c3b

27
.github/workflows/check-dist.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Update dist
on:
push:
branches: [ main ]
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: install
run: yarn
- name: package
run: yarn package
- name: Commit and push if changed
run: |-
git diff
git config --global user.email "xrkffgg@vip.qq.com"
git config --global user.name "xrkffgg"
git pull
git add -A
git commit -m "🤖 auto: updated dist" || exit 0
git push