Skip to content

Test on deployed action #22

Test on deployed action

Test on deployed action #22

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
ci:
name: Continuous Integration Tests
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 }}" = "preprereq"
echo ${{ steps.recursive-prerequisites.outputs.hash }}
test-action:
name: Test Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: List prerequisites non-recursively
id: non-recursive-prerequisites
uses: colluca/list-make-prerequisites@${{ github.sha }}

Check failure on line 44 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 44, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.sha .github/workflows/ci.yml (Line: 54, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.sha
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: colluca/list-make-prerequisites@${{ github.sha }}
with:
working-directory: test
target: test
flags: --recursive
- name: Check recursive prerequisites
run: |
test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq"
echo ${{ steps.recursive-prerequisites.outputs.hash }}