Skip to content

Commit

Permalink
ci:node16 -> node20
Browse files Browse the repository at this point in the history
  • Loading branch information
nICEnnnnnnnLee committed Feb 23, 2024
1 parent b5257c7 commit 29f1b05
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/closeStaleIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close issues of hosts label
uses: actions/github-script@0.4.0
uses: actions/github-script@v7.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/document.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# https://stackoverflow.com/questions/60868897/git-log-dates-incorrect-in-a-github-action
fetch-depth: '0'
ref: docs
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: npm ci

- name: Build
run: npm run docs:build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: dev

- name: Set up JDK 1.8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -42,7 +42,7 @@ jobs:
./.github/scripts/gen_zip_for_pre_release.sh
- name: Upload artifacts(no jre)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BilibiliDown.v${{steps.tag_latest.outputs.value}}.pre-release
path: ./BilibiliDown.v${{steps.tag_latest.outputs.value}}.pre-release.zip
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}

- name: Set up JDK 1.8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
./.github/scripts/gen_zip_sha1_for_release.sh
- name: Create Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@master
with:
tag_name: V${{steps.tag_latest.outputs.value}}
name: BilibiliDown - v${{steps.tag_latest.outputs.value}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}

- name: Set up JDK 1.8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand Down

0 comments on commit 29f1b05

Please sign in to comment.