Skip to content

Ios 2808 test

Ios 2808 test #7

name: Beta - Build and Deploy
on:
pull_request:
types:
- opened
branches:
- 'IOS-2808'
jobs:
prepare:
name: Prepare information
runs-on: ubuntu-latest
outputs:
version: "Develop"
build_number: ${{ github.run_number }}
changelog: ${{ steps.jira.outputs.summary }}
steps:
- name: Jira Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER }}
JIRA_API_TOKEN: ${{ secrets.JIRA_TOKEN }}
- name: Get Issues keys from all commits in current pull request
id: github-issues
uses: tangem/github-action@main
with:
github-token: ${{ secrets.GH_MOBILE_PAT}}
pull-number: ${{ github.event.number }}
# TEST
- name: Output issues
run: echo ${{ steps.github-issues.outputs.issues }}
###
- name: Jira Check Version
id: jira-check-version
uses: tangem/jira-action@master
with:
action: checkVersion
project: IOS
version: "Next Release"
- name: Jira Create Version
if: ${{ steps.jira-check-version.outputs.result }} == false
uses: tangem/jira-action@master
with:
action: createVersion
project: IOS
version: "Next Release"
- name: Jira Set Version To Issues
uses: tangem/jira-action@master
with:
action: setVersionToIssues
project: IOS
version: "Next Release"
issues: ${{ steps.github-issues.outputs.issues }}