Support running action inside containers (#10)

* Add container tests

* Update github actions path to fix container compat
This commit is contained in:
Michael Busby
2023-11-07 12:47:46 -08:00
committed by GitHub
parent 1090b8bd11
commit 945d84920f
2 changed files with 149 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ runs:
env:
JQ_VERSION: '${{ inputs.version }}'
# language=sh
run: ${{ github.action_path }}/scripts/unixish.sh
run: ${GITHUB_ACTION_PATH}/scripts/unixish.sh
- name: 'Install jq - Unix-ish 1.7'
if: (runner.os == 'Linux' || runner.os == 'macOS') && inputs.version == '1.7' && (steps.jq-check-unix.outputs.found == 'false' || inputs.force == 'true')
@@ -54,7 +54,7 @@ runs:
env:
JQ_VERSION: '${{ inputs.version }}'
# language=sh
run: ${{ github.action_path }}/scripts/unixish-17.sh
run: ${GITHUB_ACTION_PATH}/scripts/unixish-17.sh
- name: 'Check for jq - Windows-ish'
id: jq-check-windows