Skip to content

Release

Release #9

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:
version: outputs['version']
android:
if: inputs.android
uses: ./.github/workflows/test_release.yml
needs: version
secrets: inherit
with:
version: "${{ version.steps.v.version }}"

Check failure on line 32 in .github/workflows/release_trigger.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release_trigger.yml (Line: 32, Col: 16): Unrecognized named-value: 'version'. Located at position 1 within expression: version.steps.v.version
ios:
if: inputs.ios
uses: ./.github/workflows/test_release.yml
secrets: inherit
with:
version: "1.2.${{ github.run_number }}"