feat: upgrade action runtime from Node 20 to 24 (#684)

This commit is contained in:
Paul Keen
2026-05-02 23:18:58 +09:00
committed by GitHub
parent 3a287949d3
commit 83259d800c
2 changed files with 12 additions and 24 deletions
+11 -23
View File
@@ -1,38 +1,26 @@
name: Daily Test name: Test Action
on: on:
schedule: push:
- cron: '13 13 * * *' branches: [main, feat/node24]
pull_request:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
test: test:
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
os: hugo-version: ['latest', '0.160.1']
- 'ubuntu-20.04' extended: [true, false]
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
hugo-version:
- 'latest'
- '0.61.0'
extended:
- true
- false
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v3.0.0 uses: ./
with: with:
hugo-version: ${{ matrix.hugo-version }} hugo-version: ${{ matrix.hugo-version }}
extended: ${{ matrix.extended }} extended: ${{ matrix.extended }}
- name: Run hugo version - name: Verify Hugo
run: echo "::set-output name=hugo_version::$(hugo version)" run: hugo version
id: hugo_version
- name: '${{ steps.hugo_version.outputs.hugo_version }}'
run: echo '${{ steps.hugo_version.outputs.hugo_version }}'
+1 -1
View File
@@ -11,7 +11,7 @@ inputs:
required: false required: false
default: 'false' default: 'false'
runs: runs:
using: 'node20' using: 'node24'
main: 'lib/index.js' main: 'lib/index.js'
branding: branding:
icon: 'package' icon: 'package'