mirror of
https://github.com/iBug/pac.git
synced 2025-09-14 13:56:51 +08:00
feat: add vars.PAC_PROXY to config __PROXY__
This commit is contained in:
parent
fae93cacc3
commit
9ce69b8bdf
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: |
|
- run: |
|
||||||
|
sed -i '1,10 s/__PROXY__/${{ vars.PAC_PROXY }}/g' code.js # 使用action 仓库变量,配置常变参数
|
||||||
python3 build.py
|
python3 build.py
|
||||||
gzip -9 dist/*.txt
|
gzip -9 dist/*.txt
|
||||||
- name: Generate release info
|
- name: Generate release info
|
||||||
|
Loading…
Reference in New Issue
Block a user