From 0833ba2749661d1356350ff9257606788296db03 Mon Sep 17 00:00:00 2001 From: Chandra Keshav Mishra Date: Wed, 15 Jan 2025 13:31:22 +0530 Subject: [PATCH] [MOSIP-38411] rename main to master (#553) Signed-off-by: Chandra Keshav Mishra --- .github/workflows/push-trigger.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index 4bf6bed4..033b142a 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -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 }} @@ -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 }}