Navigation Menu

Skip to content

Commit

Permalink
creating androidDist directory and expanding zip to that directory
Browse files Browse the repository at this point in the history
  • Loading branch information
angshu committed Apr 14, 2021
1 parent edd83dc commit 2dc5346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/android.js.yml
Expand Up @@ -31,6 +31,7 @@ jobs:
- run: echo $GITHUB_WORKSPACE && pwd
- run: cd .. && git clone https://github.com/Bahmni/default-config.git
- run: chmod +x scripts/getArtefact.sh
- run: rm -rf androidDist && mkdir androidDist
- run: pwd && scripts/getArtefact.sh
env:
SECRET_AUTH_TOKEN: ${{ secrets.SECRET_AUTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/getArtefact.sh
Expand Up @@ -8,6 +8,6 @@ cd ..
curl -o android.zip --location --request GET 'https://api.github.com/repos/Bahmni/bahmni-connect/actions/artifacts/53217087/zip' \
-H "Authorization: token $SECRET_AUTH_TOKEN"
ls
unzip -o android.zip
unzip -o android.zip -d androidDist
ls
echo "Downloaded the artefact"

0 comments on commit 2dc5346

Please sign in to comment.