Remove Python setup and fix multiline prerequisites output #27
Workflow file for this run
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: ci | |
on: [push, pull_request] | |
jobs: | |
test-action: | |
name: Test Github Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: List prerequisites non-recursively | |
id: non-recursive-prerequisites | |
uses: ./ | |
with: | |
working-directory: test | |
target: test | |
- name: Check non-recursive prerequisites | |
run: | | |
test "${{ steps.non-recursive-prerequisites.outputs.prerequisites }}" = "prereq" | |
echo ${{ steps.non-recursive-prerequisites.outputs.hash }} | |
- name: List recursive prerequisites | |
id: recursive-prerequisites | |
uses: ./ | |
with: | |
working-directory: test | |
target: test | |
flags: --recursive | |
- name: Check recursive prerequisites | |
run: | | |
test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq1 preprereq2" | |
echo ${{ steps.recursive-prerequisites.outputs.hash }} |