.github/workflows/check.yml: add file

This commit is contained in:
Christopher SHEN 2023-07-19 23:07:12 +08:00
parent 5003d65c74
commit 784a57aaab
No known key found for this signature in database
GPG Key ID: AB91337A579ACE9B

30
.github/workflows/check.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: check
on:
schedule:
- cron: '30 2 * * *'
jobs:
check:
runs-on: ubuntu-latest
env:
GIT_USER_EMAIL: "shenleidi@gmail.com"
GIT_USER_NAME: "Christopher SHEN"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Find packages
shell: bash
run: |
git tag
./check-version.sh
- name: Create tags
shell: bash
run: |
./create-tags.sh
- name: Push tags
run: |
git config --global user.email $GIT_USER_EMAIL && git config --global user.name $GIT_USER_NAME
git push --tags