Add outputs with codename and version #9
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
on: [push] | |
jobs: | |
plugin_json: | |
runs-on: ubuntu-latest | |
name: Test some plugin.json files | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Test minimal.json | |
id: minimal_json | |
uses: ./ | |
with: | |
file: test/minimal.json | |
- name: Print minimal.json info | |
shell: bash | |
run: | | |
echo "Codename: ${{steps.minimal_json.outputs.codename}}" | |
echo "Version: ${{steps.minimal_json.outputs.version}}" | |
- name: Test full.json | |
id: full_json | |
uses: ./ | |
with: | |
file: test/full.json | |
- name: Print full.json info | |
shell: bash | |
run: | | |
echo "Codename: ${{steps.full_json.outputs.codename}}" | |
echo "Version: ${{steps.full_json.outputs.version}}" |