-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from adysec/main
更新获取工具方式
- Loading branch information
Showing
5 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Daily Update ARL Tools | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 12 * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
- name: Mkdir Tools | ||
run: mkdir tools | ||
- name: Update Ksubdomain | ||
run: | | ||
wget https://github.com/boy-hack/ksubdomain/releases/download/v1.9.5/KSubdomain-v1.9.5-linux.tar | ||
tar xvf KSubdomain-v1.9.5-linux.tar | ||
rm -rf KSubdomain-v1.9.5-linux.tar | ||
mv ksubdomain tools/ksubdomain | ||
- name: Update rad | ||
run: | | ||
wget https://github.com/chaitin/rad/releases/download/1.0/rad_linux_amd64.zip | ||
unzip rad_linux_amd64.zip | ||
rm -rf rad_linux_amd64.zip | ||
mv rad_linux_amd64 tools/rad_linux_amd64 | ||
- name: Commit and Push changes | ||
run: | | ||
echo $(date +'%Y%m%d') > date.txt | ||
git add . | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git commit -am "$(date +'%Y%m%d')" | ||
git push -v --progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20240613 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.