mirror of
https://github.com/Darkatse/TauriTavern.git
synced 2026-10-21 22:10:16 +00:00
ci: upgrade actions to Node 24
This commit is contained in:
parent
891e16ceda
commit
810c6f2901
10 changed files with 53 additions and 53 deletions
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Dispatch Canary build when dev advances
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const { owner, repo } = context.repo;
|
||||
|
|
|
|||
36
.github/workflows/canary-release.yml
vendored
36
.github/workflows/canary-release.yml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
deb_version: ${{ steps.metadata.outputs.deb_version }}
|
||||
rpm_release: ${{ steps.metadata.outputs.rpm_release }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -112,7 +112,7 @@ jobs:
|
|||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- name: Install Linux dependencies
|
||||
if: startsWith(matrix.platform, 'ubuntu-22.04')
|
||||
|
|
@ -190,7 +190,7 @@ jobs:
|
|||
|
||||
- name: Upload portable binary
|
||||
if: matrix.portable
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: TauriTavern-${{ needs.prepare.outputs.asset_time }}-canary-${{ matrix.portable_name }}-portable
|
||||
path: portable/*
|
||||
|
|
@ -214,7 +214,7 @@ jobs:
|
|||
cancel-in-progress: false
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- name: Install Android host dependencies
|
||||
if: matrix.mobile == 'android'
|
||||
|
|
@ -397,7 +397,7 @@ jobs:
|
|||
needs: prepare
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -437,7 +437,7 @@ jobs:
|
|||
echo "[Full comparison](https://github.com/${GITHUB_REPOSITORY}/compare/${PREVIOUS_SHA}...${GITHUB_SHA})"
|
||||
} > fallback.md
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: canary-release-context
|
||||
path: |
|
||||
|
|
@ -454,12 +454,12 @@ jobs:
|
|||
outputs:
|
||||
final_message: ${{ steps.codex.outputs.final-message }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: canary-release-context
|
||||
path: .canary-notes
|
||||
|
|
@ -495,7 +495,7 @@ jobs:
|
|||
if: ${{ !cancelled() && needs.prepare.result == 'success' && needs.notes-context.result == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: canary-release-context
|
||||
path: context
|
||||
|
|
@ -523,7 +523,7 @@ jobs:
|
|||
cp context/fallback.md release-notes.md
|
||||
fi
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: canary-release-notes
|
||||
path: release-notes.md
|
||||
|
|
@ -546,20 +546,20 @@ jobs:
|
|||
RPM_RELEASE: ${{ needs.prepare.outputs.rpm_release }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
path: source
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
pattern: 'TauriTavern-*-canary-*'
|
||||
path: dist
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: canary-release-notes
|
||||
path: notes
|
||||
|
|
@ -623,7 +623,7 @@ jobs:
|
|||
--jq '.assets[] | [.id, .name] | @tsv'
|
||||
)
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: canary-linux-repository-packages
|
||||
path: |
|
||||
|
|
@ -656,9 +656,9 @@ jobs:
|
|||
LINUX_REPOSITORY_SIGNING_FPR: D609D0B174E0073BB3980A1BEDC6CEF924B6C529
|
||||
RELEASE_ASSETS_DIR: dist
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: canary-linux-repository-packages
|
||||
path: dist
|
||||
|
|
@ -731,7 +731,7 @@ jobs:
|
|||
NIX_CACHE_URL: https://nix-cache.tauritavern.com
|
||||
NIX_CACHE_PUBLIC_KEY: nix-cache.tauritavern.com-1:mOl/sCsfndubNIhnLODjA7GPqk1qw5iknbayZLRn92U=
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ github.sha }}
|
||||
|
||||
|
|
|
|||
6
.github/workflows/fastools-build.yml
vendored
6
.github/workflows/fastools-build.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
steps:
|
||||
- name: Check whether FasTools has relevant new commits to build
|
||||
id: check
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v9
|
||||
env:
|
||||
WORKFLOW_REF: ${{ github.workflow_ref }}
|
||||
with:
|
||||
|
|
@ -128,7 +128,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Rust toolchain (default target)
|
||||
if: matrix.target == ''
|
||||
|
|
@ -161,7 +161,7 @@ jobs:
|
|||
cp "$BIN_PATH" "../dist-fastools/${{ matrix.name }}/${{ matrix.out_name }}"
|
||||
|
||||
- name: Upload FasTools artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: fastools-${{ matrix.name }}
|
||||
path: dist-fastools/${{ matrix.name }}/${{ matrix.out_name }}
|
||||
|
|
|
|||
6
.github/workflows/nix-package-check.yml
vendored
6
.github/workflows/nix-package-check.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout dev
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
ref: dev
|
||||
|
||||
|
|
@ -55,12 +55,12 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout dev
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
ref: dev
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
|
|
|
|||
4
.github/workflows/ohos.yml
vendored
4
.github/workflows/ohos.yml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
TAURITAVERN_BUILD_BRANCH: ${{ github.ref_name }}
|
||||
TAURITAVERN_BUILD_REVISION: ${{ github.sha }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- run: git config --global --add safe.directory "$PWD"
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: python3 scripts/ohos/prepare.py
|
||||
|
|
@ -71,7 +71,7 @@ jobs:
|
|||
git diff -- "$project"
|
||||
exit 1
|
||||
fi
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: ${{ inputs.asset_time && format('TauriTavern-{0}-canary-ohos-{1}-hap', inputs.asset_time, matrix.arch) || format('TauriTavern-ohos-{0}-run{1}-hap', matrix.arch, github.run_number) }}
|
||||
path: src-tauri/crates/tauritavern/gen/ohos/entry/build/default/outputs/default/*.hap
|
||||
|
|
|
|||
4
.github/workflows/pr-quality-gate.yml
vendored
4
.github/workflows/pr-quality-gate.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Linux build dependencies
|
||||
if: runner.os == 'Linux'
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install latest stable Rust target
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
|
|
|||
2
.github/workflows/pr-target-branch.yml
vendored
2
.github/workflows/pr-target-branch.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Explain the contribution policy and close the PR
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const { owner, repo } = context.repo;
|
||||
|
|
|
|||
10
.github/workflows/public-testflight.yml
vendored
10
.github/workflows/public-testflight.yml
vendored
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
notes:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ inputs.source_ref }}
|
||||
fetch-depth: 0
|
||||
|
|
@ -148,7 +148,7 @@ jobs:
|
|||
cp .testflight-notes/fallback.txt what-to-test.txt
|
||||
fi
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: testflight-${{ inputs.channel }}-notes
|
||||
path: what-to-test.txt
|
||||
|
|
@ -162,17 +162,17 @@ jobs:
|
|||
actions: read
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ inputs.source_ref }}
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: ${{ inputs.ipa_artifact }}
|
||||
path: package
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: testflight-${{ inputs.channel }}-notes
|
||||
path: notes
|
||||
|
|
|
|||
30
.github/workflows/stable-release.yml
vendored
30
.github/workflows/stable-release.yml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
test -n "$tag"
|
||||
echo "tag=$tag" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ steps.tag.outputs.tag }}
|
||||
fetch-depth: 0
|
||||
|
|
@ -126,7 +126,7 @@ jobs:
|
|||
TAURITAVERN_BUILD_BRANCH: main
|
||||
TAURITAVERN_BUILD_REVISION: ${{ needs.prepare.outputs.commit }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
|
||||
|
|
@ -189,7 +189,7 @@ jobs:
|
|||
|
||||
- name: Upload portable binary
|
||||
if: matrix.portable
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: TauriTavern-${{ needs.prepare.outputs.version }}-${{ matrix.portable_name }}-portable
|
||||
path: portable/*
|
||||
|
|
@ -204,7 +204,7 @@ jobs:
|
|||
TAURITAVERN_BUILD_REVISION: ${{ needs.prepare.outputs.commit }}
|
||||
TAURITAVERN_FLATPAK_USER: "1"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
|
||||
|
|
@ -219,7 +219,7 @@ jobs:
|
|||
https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
- name: Cache Flatpak SDK and build inputs
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: |
|
||||
~/.local/share/flatpak
|
||||
|
|
@ -236,7 +236,7 @@ jobs:
|
|||
run: tar --zstd --create --file flatpak-build.tar.zst .flatpak-build
|
||||
|
||||
- name: Upload Flatpak build tree
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: flatpak-build-${{ needs.prepare.outputs.version }}-x86_64
|
||||
path: flatpak-build.tar.zst
|
||||
|
|
@ -264,7 +264,7 @@ jobs:
|
|||
TAURITAVERN_BUILD_BRANCH: main
|
||||
TAURITAVERN_BUILD_REVISION: ${{ needs.prepare.outputs.commit }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
|
||||
|
|
@ -456,16 +456,16 @@ jobs:
|
|||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
RELEASE_TAG: ${{ needs.prepare.outputs.tag }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
path: source
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
pattern: 'TauriTavern-${{ needs.prepare.outputs.version }}-*'
|
||||
path: dist
|
||||
|
|
@ -513,11 +513,11 @@ jobs:
|
|||
LINUX_REPOSITORY_SIGNING_FPR: D609D0B174E0073BB3980A1BEDC6CEF924B6C529
|
||||
RELEASE_ASSETS_DIR: dist
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
pattern: 'TauriTavern-${{ needs.prepare.outputs.version }}-*'
|
||||
path: dist
|
||||
|
|
@ -591,11 +591,11 @@ jobs:
|
|||
LINUX_REPOSITORY_KEY_FPR: C75284E78972F19A0DDD88C487F5B8530682A857
|
||||
LINUX_REPOSITORY_SIGNING_FPR: D609D0B174E0073BB3980A1BEDC6CEF924B6C529
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: flatpak-build-${{ needs.prepare.outputs.version }}-x86_64
|
||||
path: flatpak-artifact
|
||||
|
|
@ -712,7 +712,7 @@ jobs:
|
|||
NIX_CACHE_URL: https://nix-cache.tauritavern.com
|
||||
NIX_CACHE_PUBLIC_KEY: nix-cache.tauritavern.com-1:mOl/sCsfndubNIhnLODjA7GPqk1qw5iknbayZLRn92U=
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.tag }}
|
||||
|
||||
|
|
|
|||
6
.github/workflows/winget-release.yml
vendored
6
.github/workflows/winget-release.yml
vendored
|
|
@ -34,12 +34,12 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ inputs.release_tag }}
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ jobs:
|
|||
|
||||
- name: Archive generated manifests
|
||||
if: steps.preflight.outputs.skip != 'true'
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: winget-manifest-${{ steps.release.outputs.version }}
|
||||
path: ${{ steps.manifest.outputs.directory }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue