Skip to content

Commit

Permalink
Add code for getting a dependency via git cli before building
Browse files Browse the repository at this point in the history
  • Loading branch information
MarmadileManteater committed Jul 13, 2023
1 parent 096b7aa commit cdb848a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/buildCordova.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ jobs:
- name: 🚧 Setup Android SDK Tools
uses: android-actions/[email protected]

- name: ⬇ Download dependency `cordova-plugin-run-in-background`
run: |
git clone https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background.git
sed -i 's@git+https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background.git@../../cordova-plugin-run-in-background@g' ./src/cordova/package.js
- name: 📦 Pack for 📱Android with Node.js & Cordova
run: yarn pack:cordova

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/releaseCordova.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
field: name
value: ${{ steps.appId.outputs.result }}


- name: ⬆ Update package.json product name
uses: jossef/[email protected]
with:
Expand All @@ -78,6 +77,11 @@ jobs:
- name: 🚧 Setup Android SDK Tools
uses: android-actions/[email protected]

- name: ⬇ Download dependency `cordova-plugin-run-in-background`
run: |
git clone https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background.git
sed -i 's@git+https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background.git@../../cordova-plugin-run-in-background@g' ./src/cordova/package.js
- name: 📦 Pack for 📱Android with Node.js & Cordova
run: yarn pack:cordova

Expand Down

0 comments on commit cdb848a

Please sign in to comment.