Skip to content

Commit

Permalink
More workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
zond committed Aug 3, 2021
1 parent 53e8cda commit e837682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
- name: Find aapt binary
run: echo "AAPT_BINARY=$(ls -1 ${ANDROID_HOME}/build-tools/*/aapt | tail -n 1)" >> $GITHUB_ENV
- name: Extract release name
run: echo "APK_VERSION_NAME=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | sed -e "s/.*versionName='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV
run: echo "APK_VERSION_NAME=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | tr "\n" " " | sed -e "s/.*versionName='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV
- name: Extract release code
run: echo "APK_VERSION_CODE=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | sed -e "s/.*versionCode='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV
run: echo "APK_VERSION_CODE=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | tr "\n" " " | sed -e "s/.*versionCode='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV
- name: Create release
id: create_release
uses: actions/create-release@latest
Expand Down

0 comments on commit e837682

Please sign in to comment.