Update .forgejo/workflows/release.yml
This commit is contained in:
parent
39892ceb24
commit
2fbac46c2e
1 changed files with 0 additions and 19 deletions
|
@ -66,30 +66,11 @@ jobs:
|
||||||
cd src/main/webapp
|
cd src/main/webapp
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
# Setup node_modules cache, for better performance
|
|
||||||
- name: Cache node_modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
**/node_modules
|
|
||||||
key: node-modules-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
restore-keys: |
|
|
||||||
node-modules-
|
|
||||||
|
|
||||||
# Build the frontend
|
# Build the frontend
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: |
|
run: |
|
||||||
cd src/main/webapp
|
cd src/main/webapp
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# Setup Maven cache, for better performance
|
|
||||||
- name: Cache Maven dependencies
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ~/.m2/repository
|
|
||||||
key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
|
||||||
restore-keys: |
|
|
||||||
maven-${{ runner.os }}-
|
|
||||||
|
|
||||||
# Build the backend (JAR). NOTE: the -Dmaven.download.parallel=false will force MAVEN to have a single connection for downloads, without this I can get "Connection reset"
|
# Build the backend (JAR). NOTE: the -Dmaven.download.parallel=false will force MAVEN to have a single connection for downloads, without this I can get "Connection reset"
|
||||||
- name: Build backend (Spring Boot)
|
- name: Build backend (Spring Boot)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue