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 name: Reuse
on: on:
push: push:
paths: paths:
- 'url' - 'url'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
bf-job: re-job:
name: Reuse name: Reuse
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -17,7 +17,7 @@ jobs:
run: | run: |
git config --local user.name "GitHub Actions" git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com" git config --local user.email "actions@github.com"
- name: pool - name: pool.yaml
run: | #sed -n '/:\/\//p' bot >> ./openit/url #提取bot文本中符合行中有://字符的行追加到url文本结尾 run: | #sed -n '/:\/\//p' bot >> ./openit/url #提取bot文本中符合行中有://字符的行追加到url文本结尾
sed -i 's/^[ \t]*//g' url #删除行头空格和tab,对齐行头 sed -i 's/^[ \t]*//g' url #删除行头空格和tab,对齐行头
sed -i '/^sub:/d' url #删除以sub:开头的行 sed -i '/^sub:/d' url #删除以sub:开头的行