mirror of
https://git.yrzr.tk/docker/gitlab-ce-arm64.git
synced 2024-11-25 19:28:12 +08:00
31 lines
667 B
YAML
31 lines
667 B
YAML
|
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
|