summaryrefslogtreecommitdiffstats
path: root/.github/actions/run-build/action.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:03:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:03:04 +0000
commitb88736462df2c86a83f01dcc260b5463205819d2 (patch)
treeb1a9a5a5392a52ec4e5f60fb4b45083cf7fd65b0 /.github/actions/run-build/action.yml
parentAdding upstream version 1.7.2+ds. (diff)
downloadlibgit2-upstream.tar.xz
libgit2-upstream.zip
Adding upstream version 1.8.1+ds.upstream/1.8.1+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--.github/actions/run-build/action.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/actions/run-build/action.yml b/.github/actions/run-build/action.yml
index 41145d3..9afcfb1 100644
--- a/.github/actions/run-build/action.yml
+++ b/.github/actions/run-build/action.yml
@@ -5,14 +5,19 @@ description: Run a build step in a container or directly on the Actions runner
inputs:
command:
description: Command to run
- required: true
type: string
+ required: true
container:
description: Optional container to run in
type: string
container-version:
description: Version of the container to run
type: string
+ shell:
+ description: Shell to use
+ type: string
+ required: true
+ default: 'bash'
runs:
using: 'composite'
@@ -35,6 +40,7 @@ runs:
-e PKG_CONFIG_PATH \
-e SKIP_NEGOTIATE_TESTS \
-e SKIP_SSH_TESTS \
+ -e SKIP_PUSHOPTIONS_TESTS \
-e TSAN_OPTIONS \
-e UBSAN_OPTIONS \
${{ inputs.container-version }} \
@@ -42,4 +48,4 @@ runs:
else
${{ inputs.command }}
fi
- shell: bash
+ shell: ${{ inputs.shell != '' && inputs.shell || 'bash' }}