Skip to content

Commit

Permalink
Merge branch 'master' (#40)
Browse files Browse the repository at this point in the history
* Merge branch 'master' of
https://github.com/helenKaryamsetty/Identity-API

* Delete src/main/java/com/iemr/common/identity/utils/CryptoUtil.java

---------

Co-authored-by: KA40094929 <[email protected]>
Co-authored-by: ravishanigarapu <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2023
1 parent 2ed4168 commit c5e2d35
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
run: mvn clean install

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2

8 changes: 7 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ env:
jobs:
Package-test:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
steps:

- name: Checkout code
uses: actions/checkout@v2

- name: Setup JDK 8
uses: actions/setup-java@v2
with:
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/sast-and-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Package

on:
push:
branches: [ "develop"]
paths-ignore:
- target/**

pull_request:
branches: [ "develop" ]
paths-ignore:
- target/**

env:
ENV_VAR: test

jobs:
Package-test:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
steps:

- name: Checkout code
uses: actions/checkout@v2
- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Build with Maven
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }}

- name: Build WAR file
run: mvn -B package --file pom.xml

- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
with:
name: Identity-API
path: target/identity-0.0.1.war

0 comments on commit c5e2d35

Please sign in to comment.