Skip to content

Commit

Permalink
Upgrade deprecated action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence Zeng committed Jun 16, 2024
1 parent 7371e57 commit 3a26e50
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Set up JDK 21
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Builds the app for production
run: npm run build
- name: Upload production build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
if-no-files-found: error
Expand All @@ -57,9 +57,9 @@ jobs:
- os: windows-latest
browser: edge
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Download production build
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
run: ls -R
working-directory: build
- name: Checkout my GitHub Page
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ZengLawrence/ZengLawrence.github.io
ref: main
Expand Down

0 comments on commit 3a26e50

Please sign in to comment.