Skip to content

Release

Release #13

name: Release
on:
workflow_dispatch:
inputs:
android:
description: 'Android'
default: 'true'
type: boolean
ios:
description: 'iOS'
default: 'true'
type: boolean
jobs:
version:
runs-on: ubuntu-latest
steps:
- name: read-yaml-file
uses: pietrobolcato/action-read-yaml@1
id: v
with:
config: ${{ github.workspace }}/pubspec.yaml
env:
name: outputs['version']
android:
if: inputs.android
uses: ./.github/workflows/test_release.yml
needs: version
secrets: inherit
with:
version: "${{ needs.version.name }}"
ios:
if: inputs.ios
uses: ./.github/workflows/test_release.yml
needs: version
secrets: inherit
with:
version: "1.2.${{ github.run_number }}"