mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2026-01-28 01:07:18 +01:00
modified: .github/workflows/mikrotik_patch_7.yml
This commit is contained in:
parent
b50ba21932
commit
676f0e0f82
1 changed files with 4 additions and 4 deletions
8
.github/workflows/mikrotik_patch_7.yml
vendored
8
.github/workflows/mikrotik_patch_7.yml
vendored
|
|
@ -116,7 +116,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Get latest routeros version
|
||||
id: get_latest
|
||||
|
|
@ -156,10 +156,10 @@ jobs:
|
|||
- name: Get loader patch files
|
||||
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||
run: |
|
||||
sudo wget -nv -O loader.7z https://${{ env.CUSTOM_UPGRADE_URL }}/routeros/loader.7z
|
||||
wget -nv -O loader.7z https://${{ env.CUSTOM_UPGRADE_URL }}/routeros/loader.7z
|
||||
sudo apt-get install -y p7zip-full > /dev/null
|
||||
sudo 7z x -p"${{ secrets.LOADER_7Z_PASSWORD }}" loader.7z
|
||||
sudo rm loader.7z
|
||||
7z x -p"${{ secrets.LOADER_7Z_PASSWORD }}" loader.7z
|
||||
rm loader.7z
|
||||
|
||||
- name: Cache Squashfs
|
||||
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue