mirror of
https://github.com/Steve-Tech/YAFI.git
synced 2026-04-19 16:50:36 +00:00
Update deprecated GitHub Workflows
This commit is contained in:
4
.github/workflows/flatpak.yml
vendored
4
.github/workflows/flatpak.yml
vendored
@@ -8,10 +8,10 @@ jobs:
|
|||||||
flatpak:
|
flatpak:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-49
|
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-50
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Build Flatpak
|
- name: Build Flatpak
|
||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/pyinstaller-linux.yml
vendored
4
.github/workflows/pyinstaller-linux.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
pyinstaller-linux:
|
pyinstaller-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
# We shouldn't use actions/setup-python since PyGObject is compiled against the system Python
|
# We shouldn't use actions/setup-python since PyGObject is compiled against the system Python
|
||||||
- name: Install System Dependencies
|
- name: Install System Dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
run: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu pyinstaller yafi.spec -- --onefile
|
run: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu pyinstaller yafi.spec -- --onefile
|
||||||
working-directory: pyinstaller
|
working-directory: pyinstaller
|
||||||
- name: Upload PyInstaller Artifact
|
- name: Upload PyInstaller Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
path: pyinstaller/dist/YAFI
|
path: pyinstaller/dist/YAFI
|
||||||
name: yafi-linux-${{ github.sha }}
|
name: yafi-linux-${{ github.sha }}
|
||||||
|
|||||||
10
.github/workflows/pyinstaller-windows.yml
vendored
10
.github/workflows/pyinstaller-windows.yml
vendored
@@ -8,15 +8,15 @@ jobs:
|
|||||||
pyinstaller-windows:
|
pyinstaller-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.14'
|
python-version: '3.14'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
|
|
||||||
- name: Cache GTK4
|
- name: Cache GTK4
|
||||||
id: cache-gtk4
|
id: cache-gtk4
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: C:\gtk
|
path: C:\gtk
|
||||||
key: Gvsbuild_2026.2.0
|
key: Gvsbuild_2026.2.0
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
working-directory: pyinstaller
|
working-directory: pyinstaller
|
||||||
|
|
||||||
- name: Upload PyInstaller Artifact (ZIP)
|
- name: Upload PyInstaller Artifact (ZIP)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
path: pyinstaller/dist/YAFI/*
|
path: pyinstaller/dist/YAFI/*
|
||||||
name: yafi-windows-${{ github.sha }}
|
name: yafi-windows-${{ github.sha }}
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
working-directory: pyinstaller
|
working-directory: pyinstaller
|
||||||
|
|
||||||
- name: Upload PyInstaller Artifact (Standalone)
|
- name: Upload PyInstaller Artifact (Standalone)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
path: pyinstaller/dist/YAFI.exe
|
path: pyinstaller/dist/YAFI.exe
|
||||||
name: yafi-windows-standalone-${{ github.sha }}
|
name: yafi-windows-standalone-${{ github.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user