Update Reuse.yaml

This commit is contained in:
Yu Steven authored and GitHub committed 2022-07-02 21:08:55 +08:00
1 parent 5244fa001a
commit 00bcf94017
1 file changed
+3 -3
+3 -3
View File
@@ -1,12 +1,12 @@
name: Reuse
on:
push:
paths:
- 'url'
workflow_dispatch:
jobs:
bf-job:
re-job:
name: Reuse
runs-on: ubuntu-latest
steps:
@@ -17,7 +17,7 @@ jobs:
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
- name: pool
- name: pool.yaml
run: | #sed -n '/:\/\//p' bot >> ./openit/url #提取bot文本中符合行中有://字符的行追加到url文本结尾
sed -i 's/^[ \t]*//g' url #删除行头空格和tab,对齐行头
sed -i '/^sub:/d' url #删除以sub:开头的行