Skip to content

Commit

Permalink
[MOSIP-38411] rename main to master (#554)
Browse files Browse the repository at this point in the history
Signed-off-by: Chandra Keshav Mishra <[email protected]>
  • Loading branch information
ckm007 authored Jan 15, 2025
1 parent af47ba2 commit 9d24b32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
find ../${{ env.SERVICE_LOCATION }} -path '*/target/*' -name '*.jar' -type f -executable -exec zip ${{ env.NEW_BUILD_ARTIFACT }}.zip {} +
- name: Upload the springboot jars
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
if: ${{ !contains(github.ref, 'master') }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.NEW_BUILD_ARTIFACT }}
Expand Down Expand Up @@ -176,12 +176,12 @@ jobs:
cp -r ${{ env.SERVICE_LOCATION}}/target/classes/config ${{ env.SERVICE_LOCATION}}/target/config
cp -r ${{ env.SERVICE_LOCATION}}/testNgXmlFiles ${{ env.SERVICE_LOCATION}}/target/testNgXmlFiles
- name: Ready the springboot artifacts
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
if: ${{ !contains(github.ref, 'master') }}
run: |
## FIND JARS & COPY ONLY EXECUTABLE JARs STORED UNDER TARGET DIRECTORY
find ${{ env.SERVICE_LOCATION }} -path '*/target/*' -exec zip ${{ env.BUILD_ARTIFACT }}.zip {} +
- name: Upload the springboot jars
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
if: ${{ !contains(github.ref, 'master') }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.BUILD_ARTIFACT }}
Expand Down

0 comments on commit 9d24b32

Please sign in to comment.