Update CI workflows: actions versions and dependencies
Bump actions/checkout to v6 and softprops/action-gh-release to v2 in all build workflows. Remove yt-dlp from pip install steps for Linux, macOS, and Windows workflows to streamline dependency installation.
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --no-cache-dir -r requirements.txt
|
pip install --no-cache-dir -r requirements.txt
|
||||||
pip install --no-cache-dir cx_Freeze yt-dlp
|
pip install --no-cache-dir cx_Freeze
|
||||||
|
|
||||||
- name: Prepare build variables
|
- name: Prepare build variables
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -321,7 +321,7 @@ jobs:
|
|||||||
ls -lh artifacts || true
|
ls -lh artifacts || true
|
||||||
|
|
||||||
- name: Create/Update draft release
|
- name: Create/Update draft release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
name: YTSage ${{ github.ref_name }}
|
name: YTSage ${{ github.ref_name }}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --no-cache-dir -r requirements.txt
|
pip install --no-cache-dir -r requirements.txt
|
||||||
pip install --no-cache-dir cx_Freeze dmgbuild yt-dlp
|
pip install --no-cache-dir cx_Freeze dmgbuild
|
||||||
|
|
||||||
- name: Prepare build variables
|
- name: Prepare build variables
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -241,7 +241,7 @@ jobs:
|
|||||||
ls -lh artifacts || true
|
ls -lh artifacts || true
|
||||||
|
|
||||||
- name: Create/Update draft release
|
- name: Create/Update draft release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
name: YTSage ${{ github.ref_name }}
|
name: YTSage ${{ github.ref_name }}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -53,7 +53,6 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --no-cache-dir -r requirements.txt
|
pip install --no-cache-dir -r requirements.txt
|
||||||
pip install --no-cache-dir cx_Freeze
|
pip install --no-cache-dir cx_Freeze
|
||||||
pip install --no-cache-dir yt-dlp
|
|
||||||
|
|
||||||
- name: Prepare build variables
|
- name: Prepare build variables
|
||||||
shell: powershell
|
shell: powershell
|
||||||
@@ -303,7 +302,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
- name: Create draft release
|
- name: Create draft release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
name: YTSage ${{ github.ref_name }}
|
name: YTSage ${{ github.ref_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user