Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

ci: update GitHub Actions to Node 24 versions

adnan-bhaldar5c2483c74ddd
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index de3a4e0a..03237498 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,9 +24,9 @@ jobs:
build:
runs-on: windows-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v7
- - uses: actions/setup-dotnet@v4
+ - uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
@@ -49,7 +49,7 @@ jobs:
# downloaded once and not on every run. Release builds restore the same cache.
- name: Restore Zig toolchain
id: zig
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: build/.cache/zig-x86_64-windows-0.16.0
key: zig-0.16.0-x86_64-windows
@@ -60,7 +60,7 @@ jobs:
- name: Save Zig toolchain
if: steps.zig.outputs.cache-hit != 'true'
- uses: actions/cache/save@v4
+ uses: actions/cache/save@v5
with:
path: build/.cache/zig-x86_64-windows-0.16.0
key: zig-0.16.0-x86_64-windows
@@ -86,7 +86,7 @@ jobs:
- name: Upload test results
if: failure()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-results-windows
path: TestResults/
@@ -94,7 +94,7 @@ jobs:
- name: Upload UI screenshots
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ui-screenshots
path: tests/Filee.App.Tests/bin/Release/net10.0/screenshots/
diff --git a/.github/workflows/portable.yml b/.github/workflows/portable.yml
index 4a28ad67..b778b4d4 100644
--- a/.github/workflows/portable.yml
+++ b/.github/workflows/portable.yml
@@ -42,7 +42,7 @@ jobs:
env:
NATIVE_OUT: ${{ github.workspace }}/build/.cache/linux-native/${{ matrix.rid }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v7
# Fails when engines.json moved to another rhwp version while build/build-linux-native.py still builds the old
# source (also when the build below comes from the cache).
@@ -51,7 +51,7 @@ jobs:
- name: Restore native builds
id: native-cache
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: build/.cache/linux-native/${{ matrix.rid }}
key: linux-native-${{ matrix.rid }}-ubuntu-22.04-${{ hashFiles('build/build-linux-native.py') }}
@@ -70,7 +70,7 @@ jobs:
- name: Restore cargo downloads
if: steps.native-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/.cargo/registry/index
@@ -87,7 +87,7 @@ jobs:
run: python3 build/check-elf-glibc.py --max 2.35 --needed "$NATIVE_OUT"
- name: Upload native builds
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: linux-native-${{ matrix.rid }}
path: build/.cache/linux-native/${{ matrix.rid }}/
@@ -116,16 +116,16 @@ jobs:
run:
shell: pwsh
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v7
- name: Download Linux native builds
if: runner.os == 'Linux'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: linux-native-${{ matrix.rid }}
path: ${{ runner.temp }}/linux-native
- - uses: actions/setup-dotnet@v4
+ - uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
@@ -141,7 +141,7 @@ jobs:
run: ./build/fetch-fonts.ps1
- name: Restore engine downloads
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: build/.cache/portable-downloads
key: portable-engines-${{ matrix.rid }}-${{ hashFiles('src/Filee.Engines/Infrastructure/engines.json') }}
@@ -196,7 +196,7 @@ jobs:
done
- name: Upload packages
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: portable-${{ matrix.rid }}
path: |
@@ -206,7 +206,7 @@ jobs:
- name: Upload test diagnostics
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: unix-test-results-${{ matrix.rid }}
path: |
@@ -237,7 +237,7 @@ jobs:
run:
shell: pwsh
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v7
- name: Linux desktop dependencies (Ubuntu 22.04)
shell: bash
@@ -247,7 +247,7 @@ jobs:
libfontconfig1 libfreetype6 libx11-6 libice6 libsm6 libxrandr2 libxkbcommon0 libxi6 libxtst6 libxt6 xvfb fonts-noto-cjk
- name: Download package
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: portable-${{ matrix.rid }}
path: Releases
@@ -272,7 +272,7 @@ jobs:
- name: Upload diagnostics
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ubuntu-22-04-results-${{ matrix.rid }}
path: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0eb76efd..bfdd71ed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -27,9 +27,9 @@ jobs:
needs: portable
runs-on: windows-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v7
- - uses: actions/setup-dotnet@v4
+ - uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
@@ -45,7 +45,7 @@ jobs:
run: ./build/fetch-fonts.ps1
- name: Restore Zig toolchain
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: build/.cache/zig-x86_64-windows-0.16.0
key: zig-0.16.0-x86_64-windows
@@ -74,7 +74,7 @@ jobs:
- name: Upload test results
if: failure()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-results-windows
path: TestResults/
@@ -87,7 +87,7 @@ jobs:
run: ./build/build-installer.ps1 -Version ${{ steps.version.outputs.value }} -Portable
- name: Download Linux and macOS packages
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
pattern: portable-*
merge-multiple: true