feat: add vars.PAC_PROXY to config __PROXY__

This commit is contained in:
auh 2023-03-23 03:59:12 +08:00
parent fae93cacc3
commit 9ce69b8bdf

View File

@ -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