Hello World

This commit is contained in:
GitHub Actions committed 2022-06-30 02:18:52 +00:00
commit cd995d7629
2562 files changed
+457732

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
name: Reuse
on:
push:
paths:
- 'url'
workflow_dispatch:
jobs:
bf-job:
name: Reuse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Timezone
run: sudo timedatectl set-timezone 'Asia/Shanghai'
- name: git init
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
- name: pool
run: | #sed -n '/:\/\//p' bot >> ./openit/url #提取bot文本中符合行中有://字符的行追加到url文本结尾
sed -i 's/^[ \t]*//g' url #删除行头空格和tab,对齐行头
sed -i '/^sub:/d' url #删除以sub:开头的行
sed -i '/^$/d' url #删除空白行
sed -i -r '/^\s*$/d' url #删除带有空格或制表符的空行
base64 ./url > ./utils/pool/pool -w 0
- run: ./.github/update-repo.sh