yu-steven/openit

这个url.sh错误是哪的原因呢

anjue39 opened this issue · 12 comments

- name: when pull has failed
if: ${{ failure() && steps.clashcheck.conclusion == 'failure' }}
run: echo -e "\033[31mFailed to pull clashcheck file.\033[0m"
- name: move clashcheck to clash2base64 #input ./utils/clashcheck/data/check.yaml
if: ${{ success() }}
run: mv ./utils/clashcheck/data/check.yaml ./utils/subconverter/check.yaml #output ./utils/subconverter/check.yaml
- name: clash2base64 #input ./utils/subconverter/check.yaml
if: ${{ success() }}
run: ./utils/subconverter/subconverter -g --artifact "clash2base64" && rm utils/subconverter/check.yaml #output ./utils/subconverter/check & delete ./utils/subconverter/check.yaml
- name: marge urls #because ./utils/subconverter/generate.ini so input ./utils/subconverter/check|input ./sub/url2
if: ${{ success() }}
run: base64 -d ./utils/subconverter/check > ./utils/rm/url1 && cat ./utils/rm/url1 ./sub/url2 > ./utils/rm/url && rm ./utils/subconverter/check ./utils/rm/url1 #output ./utils/rm/url & delete ./utils/subconverter/check ./utils/rm/url1 ./nodes
- name: remove & rename #input ./utils/rm/url
if: ${{ success() }}
run: cd ./utils/rm/ && npm start #output ./utils/rm/out
- name: url & https
if: ${{ success() }}

新增的这些secrect
${{ success() }} ${{ failure() && steps.clashcheck.conclusion == 'failure' }} 等,
影响fork后的运行吗

- name: when pull has failed
if: ${{ failure() && steps.clashcheck.conclusion == 'failure' }}
run: echo -e "\033[31mFailed to pull clashcheck file.\033[0m"
- name: move clashcheck to clash2base64 #input ./utils/clashcheck/data/check.yaml
if: ${{ success() }}
run: mv ./utils/clashcheck/data/check.yaml ./utils/subconverter/check.yaml #output ./utils/subconverter/check.yaml
- name: clash2base64 #input ./utils/subconverter/check.yaml
if: ${{ success() }}
run: ./utils/subconverter/subconverter -g --artifact "clash2base64" && rm utils/subconverter/check.yaml #output ./utils/subconverter/check & delete ./utils/subconverter/check.yaml
- name: marge urls #because ./utils/subconverter/generate.ini so input ./utils/subconverter/check|input ./sub/url2
if: ${{ success() }}
run: base64 -d ./utils/subconverter/check > ./utils/rm/url1 && cat ./utils/rm/url1 ./sub/url2 > ./utils/rm/url && rm ./utils/subconverter/check ./utils/rm/url1 #output ./utils/rm/url & delete ./utils/subconverter/check ./utils/rm/url1 ./nodes
- name: remove & rename #input ./utils/rm/url
if: ${{ success() }}
run: cd ./utils/rm/ && npm start #output ./utils/rm/out
- name: url & https
if: ${{ success() }}

新增的这些secrect
${{ success() }} ${{ failure() && steps.clashcheck.conclusion == 'failure' }} 等,
影响fork后的运行吗

不影响

image

权限错误,你给url.sh一个+x的权限 chmod +x url.sh

以上收到👌🏻

如何流程里添加用两个测速链接?
下载测速是最准的,目前实现起来成熟吗?

image

权限错误,你给url.sh一个+x的权限 chmod +x url.sh

本地加上了,push上去好像还是没权限。能在giugub上添加吗?为啥本地已经是10075了,传上去却有了权限?费解

手动添加文件就有这个问题,git clone或者folk就没问题。费解

image

权限错误,你给url.sh一个+x的权限 chmod +x url.sh

本地加上了,push上去好像还是没权限。能在giugub上添加吗?为啥本地已经是10075了,传上去却有了权限?费解

手动添加文件就有这个问题,git clone或者folk就没问题。费解

在GitHub上这样显示就可以用了
34F6E3A5-C652-4A94-803F-D2D4E4668E91

image

权限错误,你给url.sh一个+x的权限 chmod +x url.sh

本地加上了,push上去好像还是没权限。能在giugub上添加吗?为啥本地已经是10075了,传上去却有了权限?费解
手动添加文件就有这个问题,git clone或者folk就没问题。费解

在GitHub上这样显示就可以用了 34F6E3A5-C652-4A94-803F-D2D4E4668E91

搞不定。查了资料,本地能搞定,传上去就不行。奇怪
git update-index --chmod=+x url.sh ?
or
chmod +x url.sh ?

第二种

chmod +x url.sh

不行,本地能加权限,传上去就不行

chmod +x url.sh

不行,本地能加权限,传上去就不行

那就在Nodes.yaml的GitHub Action上加上 chmod +x ./.github/url.sh