Skip to content

Commit

Permalink
Improving the workflow even more
Browse files Browse the repository at this point in the history
  • Loading branch information
Burzo committed Mar 29, 2024
1 parent 1de4dac commit 8c2417b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,20 @@ jobs:
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
- name: Extract version
id: extract-version
run: |
VERSION="${{ github.ref_name }}"
echo "Original version: $VERSION"
VERSION="${VERSION#"v"}"
echo "Processed version: $VERSION"
echo "::set-output name=version::$VERSION"
- name: Run fastlane
run: |
echo ${{ github.run_number }}
bundle exec fastlane android build_release
env:
APP_VERSION: ${{ github.ref_name }}#"v"
APP_VERSION: ${{ steps.extract-version.outputs.version }}
APP_CODE_VERSION: ${{ github.run_number }}
APP_ID: ${{ secrets.APP_ID }}
ANDROID_ARTEFACT_PATH: ${{ secrets.ANDROID_ARTEFACT_PATH }}
Expand Down

0 comments on commit 8c2417b

Please sign in to comment.