Skip to content

Commit

Permalink
changed deploy-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MocStepan committed May 9, 2024
1 parent 21ae3c8 commit 278d0c5
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,26 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Build Backend
- name: Build backend
working-directory: backend
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
cache-dependency-path: |
backend/*.gradle*
backend/**/gradle-wrapper.properties
run: |
./gradlew build
./gradlew build --no-daemon
cp build/libs/backend-1.0.0.jar ../backend.jar
- name: Build Frontend
- name: Build frontend
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
working-directory: frontend
run: |
npm install
Expand Down

0 comments on commit 278d0c5

Please sign in to comment.