Update .forgejo/workflows/release.yml
Some checks failed
Release / release (push) Failing after 17m26s

This commit is contained in:
root 2025-06-25 12:04:32 +01:00
parent d1801774c0
commit f6507cf82e

View file

@ -62,12 +62,14 @@ jobs:
# Install @Angular dependencies
- name: Install frontend dependencies
if: false # DISABLED for testing. To check if backend build is also doing frontend.
run: |
cd src/main/webapp
npm ci
# Build the frontend
- name: Build frontend
if: false # DISABLED for testing. To check if backend build is also doing frontend.
run: |
cd src/main/webapp
npm run build
@ -136,13 +138,13 @@ jobs:
# ## Update pom.xml ##
# ## Calculate the new version string ##
- name: Checkout main
if: false # DISABLED for testing
if: false # DISABLED for testing. DON't atually change master version
uses: actions/checkout@v3
with:
ref: master
- name: Bump to next SNAPSHOT version
if: false # DISABLED for testing
if: false # DISABLED for testing. DON't atually change master version
run: |
# Extract the version from the ref, handling tags like v1.0.2 or branches like release/1.0.2
RAW_REF="${GITHUB_REF##*/}" # gets 'v1.0.2' or '1.0.2'