chore(ci): upgrade workflow runtimes

This commit is contained in:
xixu-me committed 2026-03-20 16:15:20 +08:00
1 parent c678764c11
commit 0d9360a003
6 files changed
+36 -16

No files matched your search

+15 -6
View File
@@ -13,6 +13,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
env:
WRANGLER_VERSION: "4.76.0"
jobs:
deploy:
runs-on: ubuntu-latest
@@ -55,10 +58,16 @@ jobs:
echo "Pages project created."
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
- name: Setup Node.js
uses: actions/setup-node@v6
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
wranglerVersion: "4.76.0"
command: pages deploy . --project-name=xget --branch=${{ github.ref_name }}
node-version: "24"
- name: Install Wrangler CLI
run: npm install --global wrangler@${{ env.WRANGLER_VERSION }}
- name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: wrangler pages deploy . --project-name=xget --branch=${{ github.ref_name }}