From 784a57aaab5dd3098563d53fe0ef76df6f79117e Mon Sep 17 00:00:00 2001 From: Christopher SHEN Date: Wed, 19 Jul 2023 23:07:12 +0800 Subject: [PATCH] .github/workflows/check.yml: add file --- .github/workflows/check.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..ae733b5 --- /dev/null +++ b/.github/workflows/check.yml @@ -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