mirror of
https://github.com/actions/checkout.git
synced 2024-11-15 11:54:30 +08:00
Update check-dist.yml
This commit is contained in:
parent
692973e3d9
commit
d8d0154fa1
10
.github/workflows/check-dist.yml
vendored
10
.github/workflows/check-dist.yml
vendored
@ -24,16 +24,16 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.6
|
||||
|
||||
- name: Set Node.js 20.x
|
||||
uses: actions/setup-node@v4
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
node-version: 20.x
|
||||
java-version: '17'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Rebuild the index.js file
|
||||
run: npm run build
|
||||
- name: Build with Maven
|
||||
run: mvn clean install
|
||||
|
||||
- name: Compare the expected and actual dist/ directories
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user