Skip to content

Commit

Permalink
ci: Added actions to update zds_android
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecoomber committed Oct 18, 2024
1 parent 9c4d6bc commit 4bf1f1e
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ jobs:
update_flutter:
uses: ./.github/workflows/update_zeta_flutter.yml
secrets: inherit

update_android:
uses: ./.github/workflows/update_zds_android.yml
secrets: inherit
19 changes: 19 additions & 0 deletions .github/workflows/update_zds_android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Update zds_android

on:
workflow_dispatch:
workflow_call:
secrets:
PAT:
required: true

jobs:
publish_android:
uses: ./.github/workflows/copy-content.yml
secrets: inherit
with:
repo: ZebraDevs/zds_android
branch: "update-zeta-icons"
source_dir: "./outputs/android/."
destination_dir: "app/src/main/res/drawable"
commit_msg: "Update icons"
25 changes: 22 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@types/react": "^18.3.11",
"@types/sinon": "^17.0.3",
"chai": "^5.1.0",
"cheerio": "^1.0.0",
"dotenv": "^16.4.5",
"jest": "^29.7.0",
"md5": "^2.3.0",
Expand Down Expand Up @@ -72,8 +73,5 @@
"bugs": {
"url": "https://github.com/zebratechnologies/zeta-icons/issues"
},
"homepage": "https://github.com/zebratechnologies/zeta-icons#readme",
"dependencies": {
"cheerio": "^1.0.0"
}
"homepage": "https://github.com/zebratechnologies/zeta-icons#readme"
}

0 comments on commit 4bf1f1e

Please sign in to comment.