This action returns the version name or version code of an APK file.
Required The path to the APK file.
The version code of an APK file.
The version name of an APK file.
- uses: kairusds/apk-version-action@v1
id: apk-version
with:
path: "path/to/apk/file.apk"
- name: Result
run: |
echo "${{ steps.apk-version.outputs.code }}"
echo "${{ steps.apk-version.outputs.name }}"