mirror of
https://github.com/mahdibland/V2RayAggregator.git
synced 2026-06-03 21:01:49 +08:00
Update Actions
This commit is contained in:
parent
ee88397335
commit
2ada8cdba1
18
.github/workflows/all_together.yml
vendored
18
.github/workflows/all_together.yml
vendored
@ -18,14 +18,12 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- name: Load Cache
|
||||
uses: actions/cache@v2
|
||||
python-version: '3.x'
|
||||
cache: 'pip'
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/run_in_Actions/requirements.txt') }}
|
||||
@ -36,14 +34,13 @@ jobs:
|
||||
- name: Install Requirements
|
||||
run: |
|
||||
pip install -r ./utils/requirements.txt
|
||||
|
||||
- name: Running Collector
|
||||
run: |
|
||||
wget -O subconverter.tar.gz https://github.com/tindy2013/subconverter/releases/download/v0.7.2/subconverter_linux64.tar.gz
|
||||
tar -zxvf subconverter.tar.gz -C ./
|
||||
chmod +x ./subconverter/subconverter && nohup ./subconverter/subconverter >./subconverter.log 2>&1 &
|
||||
|
||||
python ./utils/list_merge.py
|
||||
|
||||
- name: Commit Changes
|
||||
run: |
|
||||
git config --local user.email "actions@github.com"
|
||||
@ -79,7 +76,6 @@ jobs:
|
||||
- name: Push Change
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
# github_token: ${{ secrets.TOKEN }}
|
||||
branch: master
|
||||
|
||||
- name: Run Convertor & Formatter
|
||||
@ -88,7 +84,6 @@ jobs:
|
||||
wget -O subconverter.tar.gz https://github.com/tindy2013/subconverter/releases/download/v0.7.2/subconverter_linux64.tar.gz
|
||||
tar -zxvf subconverter.tar.gz -C ./
|
||||
chmod +x ./subconverter/subconverter && nohup ./subconverter/subconverter >./subconverter.log 2>&1 &
|
||||
|
||||
python ./utils/eternity_convert.py
|
||||
- name: Commit changes
|
||||
run: |
|
||||
@ -104,5 +99,4 @@ jobs:
|
||||
- name: Push Change
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
# github_token: ${{ secrets.TOKEN }}
|
||||
branch: master
|
||||
|
||||
Loading…
Reference in New Issue
Block a user