Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SaikrishnaBairamoni authored Dec 12, 2024
1 parent 5545da4 commit 7f6364e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
options: --user root
steps:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
python3 -m coverage xml --omit="/opt/*,/root/*,/tmp/*,/usr/*,/var/*,**/__init__.py"
- name: Archive Code Coverage Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build_api
path: services/cov.xml
Expand All @@ -51,7 +51,7 @@ jobs:
CI: true
steps:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build Web Application
continue-on-error: true
Expand All @@ -66,7 +66,7 @@ jobs:
npm test -- --coverage || true
- name: Archive Code Coverage Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: webapp
path: webapp/coverage/*
Expand All @@ -81,18 +81,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download code coverage results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: build_api
path: services/cov.xml

- name: Download Code Coverage Results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: webapp
path: webapp
Expand All @@ -107,7 +107,7 @@ jobs:
run: |
find "$GITHUB_WORKSPACE" -name "lcov.info"
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down

0 comments on commit 7f6364e

Please sign in to comment.