mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
modified: .github/workflows/mikrotik_patch_7.yml
This commit is contained in:
parent
b50ba21932
commit
676f0e0f82
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
|
- 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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user