From 4c6605a1d9f0de184dcf02dc946ca48fef19c2de Mon Sep 17 00:00:00 2001 From: Rakshithb1 <79500257+Rakshithb1@users.noreply.github.com> Date: Thu, 15 Jun 2023 21:08:19 +0530 Subject: [PATCH 1/2] [DSD-2764] added push_trigger.yml (#14) * Create push_trigger.yml Signed-off-by: Rakshithb1 <79500257+Rakshithb1@users.noreply.github.com> * [DSD-2764] updated push_trigger.yml * [DSD-2764] updated push_trigger.yml --------- Signed-off-by: Rakshithb1 <79500257+Rakshithb1@users.noreply.github.com> --- .github/workflows/push_trigger.yml | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/push_trigger.yml diff --git a/.github/workflows/push_trigger.yml b/.github/workflows/push_trigger.yml new file mode 100644 index 0000000..09350b4 --- /dev/null +++ b/.github/workflows/push_trigger.yml @@ -0,0 +1,52 @@ +name: Build and Push + +on: + workflow_dispatch: + inputs: + destination_branch: + description: 'Provide artifactory branch' + required: true + type: string + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: npm Install + run: | + cd sign-in-with-esignet + npm i + - name: Build APK + run: | + cd sign-in-with-esignet + npm run build + - name: Zip dist directory + run: | + cd sign-in-with-esignet + mv dist sign-in-with-esignet + zip -r sign-in-with-esignet.zip sign-in-with-esignet/ + + - name: Upload ZIP artifact + uses: actions/upload-artifact@v2 + with: + name: sign-in-with-esignet + path: sign-in-with-esignet/sign-in-with-esignet.zip + + - name: Copy ZIP file to esignet-plugins directory + run: | + mkdir -p esignet-plugins + cp ./sign-in-with-esignet/sign-in-with-esignet.zip esignet-plugins/ + + - name: Pushes esignet-plugin folder + uses: datalbry/copy_folder_to_another_repo_action@1.0.1 + env: + API_TOKEN_GITHUB: ${{ secrets.ACTION_PAT }} + with: + source_folder: esignet-plugins + destination_repo: mosip/artifactory-ref-impl + destination_folder: artifacts/src/esignet-plugins + destination_branch: ${{ github.event.inputs.destination_branch }} + user_name: mosip \ No newline at end of file From 9d11ba458865eec6291afee1f3faba1766892516 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jul 2023 13:19:24 +0000 Subject: [PATCH 2/2] Bump word-wrap from 1.2.3 to 1.2.4 in /mosip-bio-device Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] --- mosip-bio-device/package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mosip-bio-device/package-lock.json b/mosip-bio-device/package-lock.json index 821e522..595ec1d 100644 --- a/mosip-bio-device/package-lock.json +++ b/mosip-bio-device/package-lock.json @@ -26972,9 +26972,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz", + "integrity": "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -47392,9 +47392,9 @@ } }, "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz", + "integrity": "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==", "dev": true }, "wordwrap": {