Skip to content

AutoCheckin

AutoCheckin #7

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: AutoCheckin
on:
workflow_dispatch:
schedule:
- cron: '0 16 * * *' # 时差,北京时间凌晨00点00分
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: init
run: go mod tidy
- name: run
run: go run . -d=${{ secrets.HOST }} -e=${{ secrets.EMAIL }} -p=${{ secrets.PASSWD }}