Skip to content

Commit

Permalink
Update android-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Jul 2, 2024
1 parent bfc79e0 commit a53f4c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
build: [default, lite]
env:
FILES: |
LITES: |
app/src/main/AndroidManifest.xml
app/src/main/java/org/ole/planet/myplanet/base/PermissionActivity.kt
app/src/main/java/org/ole/planet/myplanet/base/BaseContainerFragment.kt
Expand All @@ -39,7 +39,7 @@ jobs:
echo "ANDROID_VERSION_NAME_ORIG=${ANDROID_VERSION_NAME}" >> $GITHUB_ENV
ls -al app/build.gradle
sed -i 's/\(versionName "[0-9.]\+\)"/\1-lite"/' app/build.gradle
echo "${{ env.FILES }}" | xargs -n 1 | while read file; do
echo "${{ env.LITES }}" | xargs -n 1 | while read file; do
ls -al $file*
cp "${file}.lite" "$file"
done
Expand Down

0 comments on commit a53f4c7

Please sign in to comment.