Merge pull request 'Улучшение CI/CD' (#18) from dev into main
All checks were successful
Build rosetta-wss / build (push) Successful in 5m59s

Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
2026-03-20 18:29:38 +00:00

View File

@@ -27,7 +27,18 @@ jobs:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Install maven IF not Exists
run: |
if ! command -v mvn &> /dev/null; then
echo "Maven not found, installing..."
if command -v apt-get &> /dev/null; then
sudo apt-get update && sudo apt-get install -y maven
elif command -v brew &> /dev/null; then
brew install maven
fi
else
echo "Maven is already installed."
fi
- name: Build with Maven
run: mvn clean package