Skip to content

Instantly share code, notes, and snippets.

@saqib-github-commits
Created August 29, 2023 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saqib-github-commits/23ace3eada214cc6780a37b3dff0c509 to your computer and use it in GitHub Desktop.
Save saqib-github-commits/23ace3eada214cc6780a37b3dff0c509 to your computer and use it in GitHub Desktop.
- name: Retrieve Version
run: |
echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew -q appVersionName)"
id: android_version
- name: Get version
run: |
echo "version_name=${{steps.android_version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment