Parse String #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Parse String | |
on: | |
workflow_dispatch: | |
inputs: | |
value: | |
description: 'From branch' | |
required: true | |
jobs: | |
parse-input: | |
runs-on: ubuntu-latest | |
name: Parsing input value | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: Parse inputs | |
id: parse | |
uses: ./ | |
with: | |
value: ${{ github.event.inputs.value }} | |
- name: Print parsed value | |
run: echo "Parsed value is ${{ steps.parse.outputs.parsed }}" | |