Skip to content

Commit

Permalink
Merge pull request #10 from oscal-club/test-post-setup-non-oscal-cli-…
Browse files Browse the repository at this point in the history
…shell-command

Add running cmd without oscal-cli in shell after setup
  • Loading branch information
xee5ch authored Jun 20, 2024
2 parents 17a1414 + 728d066 commit a05d08f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ jobs:
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
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ the code and setup a Java runtime as dependencies, or it will fail.
distribution: adopt
java-version: 11
id: setup_java
- name: Run oscal-cli for version check (debugging on)
uses: oscal-club/[email protected].0
- name: Validate SSP schema and constraints
uses: oscal-club/[email protected].4
with:
args: ssp validate repo/path/to/ssp.xml
id: convert_ssp
```
id: validate_ssp
- name: Run shell command with all setup and context from before
run: |
ls -lha
id: post_setup_shell_command
```

0 comments on commit a05d08f

Please sign in to comment.