mirror of
https://github.com/empayre/java-workflow.git
synced 2024-11-06 10:55:18 +00:00
commit
edef3a4190
24
.github/workflows/maven-swag-deploy.yml
vendored
24
.github/workflows/maven-swag-deploy.yml
vendored
@ -76,6 +76,18 @@ jobs:
|
||||
java-version: ${{ inputs.jdk-version }}
|
||||
distribution: ${{ inputs.jdk-distribution }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ inputs.node-version }}
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Bundle specification
|
||||
run: npm run ${{ inputs.run-script-name }}
|
||||
|
||||
- name: Cache build
|
||||
id: cache-build
|
||||
uses: actions/cache@v2
|
||||
@ -114,6 +126,18 @@ jobs:
|
||||
java-version: ${{ inputs.jdk-version }}
|
||||
distribution: ${{ inputs.jdk-distribution }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ inputs.node-version }}
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Bundle specification
|
||||
run: npm run ${{ inputs.run-script-name }}
|
||||
|
||||
- name: Cache build
|
||||
id: cache-build
|
||||
uses: actions/cache@v2
|
||||
|
Loading…
Reference in New Issue
Block a user