diff --git a/.github/workflows/release-stable.yaml b/.github/workflows/release-stable.yaml index 220c56d..45c9beb 100644 --- a/.github/workflows/release-stable.yaml +++ b/.github/workflows/release-stable.yaml @@ -24,15 +24,14 @@ jobs: - name: Decode .env run: echo "${{ secrets.ENV }}" | base64 --decode > .env - name: Read pubspec.yaml - uses: adore-me/read-yaml@v1.0.0 + uses: pietrobolcato/action-read-yaml@1.0.0 id: read_pubspec with: - file: './pubspec.yaml' - key-path: '["version"]' + config: ${{ github.workspace }}/pubspec.yaml - name: Save version on env variable id: save_version run: | - version=${{ steps.read_pubspec.outputs.data }} + version=${{ steps.read_pubspec.outputs['version'] }} IFS='+' read -r -a split <<< "$version" echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV