Woops, got syntax in README post-setup shell example wrong #32
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: | |
- repository_dispatch | |
- workflow_dispatch | |
- push | |
- pull_request | |
jobs: | |
oscal-cli-action: | |
runs-on: ubuntu-22.04 | |
continue-on-error: false | |
name: Integration Tests | |
steps: | |
# To use this repository's private action, | |
# we must check out the repository | |
- name: Checkout | |
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b | |
id: checkout | |
- name: Setup Java | |
uses: actions/setup-java@c3ac5dd0ed8db40fedb61c32fbe677e6b355e94c | |
with: | |
distribution: adopt | |
java-version: 11 | |
id: setup_java | |
- name: Run oscal-cli for version check (debugging on) | |
uses: ./ | |
id: oscal_cli_basic | |
- name: Run oscal-cli for version check (debugging off) | |
uses: ./ | |
with: | |
debug: true | |
id: oscal_cli_basic_debug | |
- name: Run another command that is not oscal-cli after setup | |
run: | | |
date | |
id: alternate_shell_command |