You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by el...@apache.org on 2019/09/24 18:22:32 UTC
[incubator-ratis] 04/09: parameterized actions
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch github-actions
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git
commit baab6e46673a26d68b55ccb2c1195a6e5921b9dc
Author: Márton Elek <el...@apache.org>
AuthorDate: Tue Sep 24 16:29:55 2019 +0200
parameterized actions
---
.github/actions/build/entrypoint.sh | 2 +-
.github/workflows/main.yml | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/actions/build/entrypoint.sh b/.github/actions/build/entrypoint.sh
index 3324505..ff6b962 100755
--- a/.github/actions/build/entrypoint.sh
+++ b/.github/actions/build/entrypoint.sh
@@ -1,3 +1,3 @@
#!/bin/sh -l
-./dev-support/checks/build.sh
+./dev-support/checks/${TEST_TYPE:-build}.sh
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e34c781..345e7a2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,5 +7,7 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: ./.github/actions/build
+ env:
+ TEST_TYPE: build