Run booxmedialtd/ws-action-parse-semver@v1.4.6
with:
input_string: v1.38.0
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/[2](https://github.com/alan-cooney/CircuitsVis/actions/runs/3882658630/jobs/6623065874#step:2:2)022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
It looks like this is because the GITHUB_OUTPUT env variable doesn't exist. Relevant part of my workflow:
name: Release
on:
release:
types:
- published
jobs:
checks:
name: Run checks workflow
uses: alan-cooney/CircuitsVis/.github/workflows/checks.yml@main
semver-parser:
name: Parse the semantic version from the release
runs-on: ubuntu-latest
steps:
- name: Parse semver string
id: semver_parser
uses: booxmedialtd/ws-action-parse-semver@v1.4.6
with:
input_string: ${{ github.event.release.tag_name }}
outputs:
major: "${{ steps.semver_parser.outputs.major }}"
minor: "${{ steps.semver_parser.outputs.minor }}"
patch: "${{ steps.semver_parser.outputs.patch }}"
semver: "${{ steps.semver_parser.outputs.fullversion }}"
Output of action here:
It looks like this is because the GITHUB_OUTPUT env variable doesn't exist. Relevant part of my workflow: