Skip to content

readLike windows(自动阅读随机点赞) #4

readLike windows(自动阅读随机点赞)

readLike windows(自动阅读随机点赞) #4

# 专门给小众软件论坛使用,要取消schedule的注释才能每日运行
name: bypassCF cron windows
on:
# schedule:
# - cron: "0 18 * * *"
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
timeout-minutes: 20
strategy:
matrix:
node-version: [20.x]
env:
# 在作业级别设置环境变量
USERNAMES: ${{ secrets.USERNAMES_APPIN }}
PASSWORDS: ${{ secrets.PASSWORDS_APPIN }}
WEBSITE: ${{ secrets.WEBSITE_APPIN }}
steps:
- uses: actions/checkout@v3 # 检出你的仓库
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install # 安装 package.json 中的依赖项
- name: Run a script
run: node bypasscf.js # 替换为你想运行的脚本的实际名称