modified: .github/workflows/mikrotik_patch_7.yml

This commit is contained in:
zyb 2025-06-19 12:43:23 +08:00
parent b50ba21932
commit 676f0e0f82

View File

@ -116,7 +116,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.11'
- name: Get latest routeros version - name: Get latest routeros version
id: get_latest id: get_latest
@ -156,10 +156,10 @@ jobs:
- name: Get loader patch files - name: Get loader patch files
if: steps.get_latest.outputs.has_new_version == 'true' if: steps.get_latest.outputs.has_new_version == 'true'
run: | 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 apt-get install -y p7zip-full > /dev/null
sudo 7z x -p"${{ secrets.LOADER_7Z_PASSWORD }}" loader.7z 7z x -p"${{ secrets.LOADER_7Z_PASSWORD }}" loader.7z
sudo rm loader.7z rm loader.7z
- name: Cache Squashfs - name: Cache Squashfs
if: steps.get_latest.outputs.has_new_version == 'true' if: steps.get_latest.outputs.has_new_version == 'true'