Skip to content

Commit

Permalink
Reenable running the android deploy script. (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
willchavez authored Oct 30, 2024
1 parent e75a2fc commit 168645c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,18 @@ jobs:
access: public
package: packages/react-native-icons/package.json

## Android
# - name: Run Android generate script
# env:
# # see https://github.com/JS-DevTools/npm-publish/issues/15
# INPUT_TOKEN: ''
# run: npm run deploy:android
# working-directory: importer
# Android
- name: Run Android generate script
env:
# see https://github.com/JS-DevTools/npm-publish/issues/15
INPUT_TOKEN: ''
run: npm run deploy:android
working-directory: importer

# - name: Setup Java
# uses: actions/setup-java@v1
# with:
# java-version: 8
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 11

# - name: Base64 decodes and pipes the GPG key content into the secret file
# env:
Expand All @@ -215,12 +215,12 @@ jobs:
# git fetch --unshallow
# sudo bash -c "echo '$GPG_KEY_CONTENT' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"

# - name: Build Android library
# uses: eskatos/gradle-command-action@v1
# with:
# arguments: assembleRelease -DversionName='${{ env.NEW_VERSION }}'
# build-root-directory: android
# wrapper-directory: android
- name: Build Android library
uses: eskatos/gradle-command-action@v1
with:
arguments: assembleRelease -DversionName='${{ env.NEW_VERSION }}'
build-root-directory: android
wrapper-directory: android

# Temporarily commenting out the publishing to Maven Central, as it is blocking the release for other platforms
# - name: Publish to Maven Central
Expand All @@ -238,9 +238,9 @@ jobs:
# build-root-directory: android
# wrapper-directory: android

# - name: Generate BUILD.gn file for Android
# run: python3 generate_build_gn_android.py
# working-directory: importer
- name: Generate BUILD.gn file for Android
run: python3 generate_build_gn_android.py
working-directory: importer

- name: Update icon sheet
run: python3 generate_icons_md.py
Expand Down

0 comments on commit 168645c

Please sign in to comment.