mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
rm: 彻底移除actions运行方式
This commit is contained in:
parent
07fa7c6105
commit
0b3fbaae41
117
.github/workflows/check.yml
vendored
117
.github/workflows/check.yml
vendored
@ -1,117 +0,0 @@
|
||||
name: 'Automatic check'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 */2 * * *'
|
||||
env:
|
||||
MY_CONFIG: ${{ secrets.MY_CONFIG }}
|
||||
PAT: ${{ secrets.PAT }}
|
||||
SCKEY: ${{ secrets.SCKEY }}
|
||||
SENDKEY: ${{ secrets.SENDKEY }}
|
||||
QQ_SKEY: ${{ secrets.QQ_SKEY}}
|
||||
QQ_MODE: ${{ secrets.QQ_MODE}}
|
||||
BARK_PUSH: ${{ secrets.BARK_PUSH }}
|
||||
BARK_SOUND: ${{ secrets.BARK_SOUND }}
|
||||
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
|
||||
TG_USER_ID: ${{ secrets.TG_USER_ID }}
|
||||
TG_PROXY_HOST: ${{ secrets.TG_PROXY_HOST }}
|
||||
TG_PROXY_PORT: ${{ secrets.TG_PROXY_PORT }}
|
||||
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
|
||||
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
|
||||
QYWX_KEY: ${{ secrets.QYWX_KEY}}
|
||||
IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
|
||||
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN }}
|
||||
PUSH_PLUS_USER: ${{ secrets.PUSH_PLUS_USER }}
|
||||
SMTP_HOST: ${{ secrets.SMTP_HOST }}
|
||||
SMTP_PORT: ${{ secrets.SMTP_PORT }}
|
||||
SMTP_USER: ${{ secrets.SMTP_USER }}
|
||||
SMTP_PASS: ${{ secrets.SMTP_PASS }}
|
||||
SMTP_TO_USER: ${{ secrets.SMTP_TO_USER }}
|
||||
jobs:
|
||||
lottery_1:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 1
|
||||
COOKIE: ${{ secrets.COOKIE }}
|
||||
run: |
|
||||
npm install
|
||||
npm run check
|
||||
lottery_2:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 2
|
||||
COOKIE: ${{ secrets.COOKIE2 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run check
|
||||
lottery_3:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 3
|
||||
COOKIE: ${{ secrets.COOKIE3 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run check
|
||||
lottery_4:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 4
|
||||
COOKIE: ${{ secrets.COOKIE4 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run check
|
||||
lottery_5:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 5
|
||||
COOKIE: ${{ secrets.COOKIE5 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run check
|
||||
118
.github/workflows/clear.yml
vendored
118
.github/workflows/clear.yml
vendored
@ -1,118 +0,0 @@
|
||||
name: 'Automatic clear dynamic&follow'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 17 1 * *'
|
||||
env:
|
||||
MY_CONFIG: ${{ secrets.MY_CONFIG }}
|
||||
CLEAR: ${{ secrets.CLEAR }}
|
||||
PAT: ${{ secrets.PAT }}
|
||||
SCKEY: ${{ secrets.SCKEY }}
|
||||
SENDKEY: ${{ secrets.SENDKEY }}
|
||||
QQ_SKEY: ${{ secrets.QQ_SKEY}}
|
||||
QQ_MODE: ${{ secrets.QQ_MODE}}
|
||||
BARK_PUSH: ${{ secrets.BARK_PUSH }}
|
||||
BARK_SOUND: ${{ secrets.BARK_SOUND }}
|
||||
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
|
||||
TG_USER_ID: ${{ secrets.TG_USER_ID }}
|
||||
TG_PROXY_HOST: ${{ secrets.TG_PROXY_HOST }}
|
||||
TG_PROXY_PORT: ${{ secrets.TG_PROXY_PORT }}
|
||||
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
|
||||
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
|
||||
QYWX_KEY: ${{ secrets.QYWX_KEY}}
|
||||
IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
|
||||
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN }}
|
||||
PUSH_PLUS_USER: ${{ secrets.PUSH_PLUS_USER }}
|
||||
SMTP_HOST: ${{ secrets.SMTP_HOST }}
|
||||
SMTP_PORT: ${{ secrets.SMTP_PORT }}
|
||||
SMTP_USER: ${{ secrets.SMTP_USER }}
|
||||
SMTP_PASS: ${{ secrets.SMTP_PASS }}
|
||||
SMTP_TO_USER: ${{ secrets.SMTP_TO_USER }}
|
||||
jobs:
|
||||
lottery_1:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 1
|
||||
COOKIE: ${{ secrets.COOKIE }}
|
||||
run: |
|
||||
npm install
|
||||
npm run clear
|
||||
lottery_2:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 2
|
||||
COOKIE: ${{ secrets.COOKIE2 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run clear
|
||||
lottery_3:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 3
|
||||
COOKIE: ${{ secrets.COOKIE3 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run clear
|
||||
lottery_4:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 4
|
||||
COOKIE: ${{ secrets.COOKIE4 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run clear
|
||||
lottery_5:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 5
|
||||
COOKIE: ${{ secrets.COOKIE5 }}
|
||||
run: |
|
||||
npm install
|
||||
npm run clear
|
||||
154
.github/workflows/node.js.yml
vendored
154
.github/workflows/node.js.yml
vendored
@ -1,154 +0,0 @@
|
||||
name: 'Automatic sweepstakes'
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths:
|
||||
- 'lib/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths-ignore:
|
||||
- '**'
|
||||
workflow_dispatch:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 */3 * * *'
|
||||
env:
|
||||
MY_CONFIG: ${{ secrets.MY_CONFIG }}
|
||||
PAT: ${{ secrets.PAT }}
|
||||
SCKEY: ${{ secrets.SCKEY }}
|
||||
SENDKEY: ${{ secrets.SENDKEY }}
|
||||
QQ_SKEY: ${{ secrets.QQ_SKEY}}
|
||||
QQ_MODE: ${{ secrets.QQ_MODE}}
|
||||
BARK_PUSH: ${{ secrets.BARK_PUSH }}
|
||||
BARK_SOUND: ${{ secrets.BARK_SOUND }}
|
||||
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
|
||||
TG_USER_ID: ${{ secrets.TG_USER_ID }}
|
||||
TG_PROXY_HOST: ${{ secrets.TG_PROXY_HOST }}
|
||||
TG_PROXY_PORT: ${{ secrets.TG_PROXY_PORT }}
|
||||
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
|
||||
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
|
||||
QYWX_KEY: ${{ secrets.QYWX_KEY}}
|
||||
IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
|
||||
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN }}
|
||||
PUSH_PLUS_USER: ${{ secrets.PUSH_PLUS_USER }}
|
||||
SMTP_HOST: ${{ secrets.SMTP_HOST }}
|
||||
SMTP_PORT: ${{ secrets.SMTP_PORT }}
|
||||
SMTP_USER: ${{ secrets.SMTP_USER }}
|
||||
SMTP_PASS: ${{ secrets.SMTP_PASS }}
|
||||
SMTP_TO_USER: ${{ secrets.SMTP_TO_USER }}
|
||||
jobs:
|
||||
lottery_1:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 1
|
||||
COOKIE: ${{ secrets.COOKIE }}
|
||||
run: |
|
||||
npm install
|
||||
npm start
|
||||
- name: 'Upload dyid to artifact'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dyid.txt
|
||||
path: dyids/dyid.txt
|
||||
lottery_2:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 2
|
||||
COOKIE: ${{ secrets.COOKIE2 }}
|
||||
run: |
|
||||
npm install
|
||||
npm start
|
||||
- name: 'Upload dyid to artifact'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dyid.txt
|
||||
path: dyids/dyid.txt
|
||||
lottery_3:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 3
|
||||
COOKIE: ${{ secrets.COOKIE3 }}
|
||||
run: |
|
||||
npm install
|
||||
npm start
|
||||
- name: 'Upload dyid to artifact'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dyid.txt
|
||||
path: dyids/dyid.txt
|
||||
lottery_4:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 4
|
||||
COOKIE: ${{ secrets.COOKIE4 }}
|
||||
run: |
|
||||
npm install
|
||||
npm start
|
||||
- name: 'Upload dyid to artifact'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dyid.txt
|
||||
path: dyids/dyid.txt
|
||||
lottery_5:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout codes'
|
||||
uses: actions/checkout@v2
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.15.5'
|
||||
- name: 'Run in Nodejs'
|
||||
shell: bash
|
||||
env:
|
||||
NUMBER: 5
|
||||
COOKIE: ${{ secrets.COOKIE5 }}
|
||||
run: |
|
||||
npm install
|
||||
npm start
|
||||
- name: 'Upload dyid to artifact'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dyid.txt
|
||||
path: dyids/dyid.txt
|
||||
Loading…
Reference in New Issue
Block a user