Skip to content

AutoCheckin #78

AutoCheckin

AutoCheckin #78

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 . -H=${{ secrets.HOST }} checkin -e=${{ secrets.EMAIL }} -p=${{ secrets.PASSWD }}