Update .forgejo/workflows/release.yml

This commit is contained in:
root 2025-06-25 08:17:15 +01:00
parent 39892ceb24
commit 2fbac46c2e

View file

@ -66,31 +66,12 @@ jobs:
cd src/main/webapp
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
- name: Build frontend
run: |
cd src/main/webapp
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"
- name: Build backend (Spring Boot)
run: |