Skip to content

Merge pull request #766 from gini/brand-ingredient-configuration #55

Merge pull request #766 from gini/brand-ingredient-configuration

Merge pull request #766 from gini/brand-ingredient-configuration #55

name: Release Health SDK
on:
push:
tags:
- 'GiniHealthSDK;[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
jobs:
check:
uses: gini/gini-mobile-ios/.github/workflows/health-sdk.check.yml@main
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}
release:
needs: check
runs-on: macos-latest
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '15.3'
- name: Checkout
uses: actions/checkout@v4
- name: setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.0'
bundler-cache: true
- name: Publish GiniHealthSDK package to the release repo
uses: maierj/[email protected]
with:
lane: 'publish_swift_package'
options: >
{
"project_folder": "HealthSDK",
"package_folder": "GiniHealthSDK",
"version_file_path": "HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/GiniHealthSDKVersion.swift",
"git_tag": "${{ github.ref }}",
"repo_url": "https://github.com/gini/health-sdk-ios.git",
"repo_user": "${{ secrets.RELEASE_GITHUB_USER }}",
"repo_password": "${{ secrets.RELEASE_GITHUB_PASSWORD }}",
"ci": "true"
}
release-documentation:
needs: release
uses: gini/gini-mobile-ios/.github/workflows/health-sdk.publish.docs.yml@main
secrets:
RELEASE_GITHUB_USER: ${{ secrets.RELEASE_GITHUB_USER }}
RELEASE_GITHUB_PASSWORD: ${{ secrets.RELEASE_GITHUB_PASSWORD }}