Skip to content

Commit

Permalink
feat!: remove email related options
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Apr 25, 2024
1 parent 8bbe751 commit fd495bc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 39 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ Add the following config to your Github Actions. Fill roomid and ruid.
```yml
- uses: yjl9903/fetch-captain@v0
with:
roomid: 直播间 ID
ruid: UID
ruid: <UID>
roomid: <直播间 ID>
# outDir: './'
# sender: ${{ secrets.SENDER }}
# sender_pass: ${{ secrets.SENDER_PASS }}
# sender_host: ${{ secrets.SENDER_HOST }}
# receiver: ${{ secrets.RECEIVER }}
```

Notice that you should push changes (e.g. `./2022-3-5.csv`) in your following actions steps manually.
Expand Down
24 changes: 7 additions & 17 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: 'fetch-captain'
description: 'Fetch captain'

description: '获取 Bilibili 大航海列表'

author: 'yjl9903'

inputs:
roomid:
required: true
description: '直播房间 id'
ruid:
required: true
description: 'up 主 uid'
roomid:
required: true
description: '直播房间 id'
outDir:
required: false
description: '输出目录'
Expand All @@ -17,19 +19,7 @@ inputs:
required: false
description: '时间偏移量'
default: '0'
sender:
required: false
description: '发信人'
sender_host:
required: false
description: 'SMTP Host'
sender_pass:
required: false
description: '发信人密码'
receiver:
required: false
description: '收信人'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
7 changes: 0 additions & 7 deletions template.md

This file was deleted.

22 changes: 13 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"noEmit": true,
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
},
"exclude": ["node_modules", "**/*.test.ts"]
}
"exclude": [
"node_modules",
"**/*.test.ts"
]
}

0 comments on commit fd495bc

Please sign in to comment.