mirror of
https://github.com/oxalica/rust-overlay.git
synced 2025-10-05 15:52:54 +02:00
Move fetch script into sub-directory
Add requirements.txt
This commit is contained in:
10
.github/workflows/sync-channels.yaml
vendored
10
.github/workflows/sync-channels.yaml
vendored
@@ -22,19 +22,19 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.8'
|
||||
- name: Install python dependencies
|
||||
run: pip3 install toml requests
|
||||
- name: Install python packages
|
||||
run: pip3 install -r ./scripts/requirements.txt
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v12
|
||||
- name: Sync stable channel
|
||||
timeout-minutes: 5
|
||||
run: python3 ./fetch.py stable
|
||||
run: python3 ./scripts/fetch.py stable
|
||||
- name: Sync beta channel
|
||||
timeout-minutes: 5
|
||||
run: python3 ./fetch.py beta
|
||||
run: python3 ./scripts/fetch.py beta
|
||||
- name: Sync nightly channel
|
||||
timeout-minutes: 5
|
||||
run: python3 ./fetch.py nightly
|
||||
run: python3 ./scripts/fetch.py nightly
|
||||
- name: Check and commit changes
|
||||
id: commit
|
||||
continue-on-error: true
|
||||
|
2
scripts/requirements.txt
Normal file
2
scripts/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
requests~=2.25.0
|
||||
toml~=0.10.2
|
Reference in New Issue
Block a user