Merge pull request #965 from novasamatech/develop #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump app version from tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
update: | |
name: Update app version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Mandatory to use the extract version from tag action | |
- name: Extract version from tag | |
uses: damienaicheh/extract-version-from-tag-action@v1.0.0 | |
- name: Write app version to secrets | |
uses: hmanzur/actions-set-secret@v2.0.0 | |
with: | |
name: 'IOS_APP_VERSION' | |
value: '${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}' | |
repository: nova-wallet/nova-wallet-ios | |
token: ${{ secrets.WRITE_SECRET_PAT }} |