Skip to content

Commit 6a57856

Browse files
authored
Improve actions reusability (#12269)
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
1 parent b540886 commit 6a57856

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

.github/actions/build/build-strimzi-binaries/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ runs:
9393

9494
- name: Check for uncommitted files
9595
shell: bash
96-
run: ".azure/scripts/uncommitted-changes.sh"
96+
run: "${{ github.action_path }}/../../../../.azure/scripts/uncommitted-changes.sh"
9797

9898
# Create tarball and archive it
9999
- name: Create tarball with artifact

.github/actions/build/containers-push/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
steps:
2626
- name: Install prerequisites
2727
shell: bash
28-
run: .azure/scripts/install_syft.sh
28+
run: ${{ github.action_path }}/../../../../.azure/scripts/install_syft.sh
2929
env:
3030
ARCH: ${{ inputs.runnerArch }}
3131

.github/actions/dependencies/install-docker/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ runs:
1818
with:
1919
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
2020
driver: docker
21-
install: true
2221
use: true
2322

2423
- name: Check buildx

.github/actions/dependencies/install-helm/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77
- name: Install helm
88
shell: bash
9-
run: ".azure/scripts/setup-helm.sh"
9+
run: "${{ github.action_path }}/../../../../.azure/scripts/setup-helm.sh"
1010
env:
1111
# TODO - update versions in the upcoming PRs
1212
TEST_HELM3_VERSION: v3.15.4

.github/actions/dependencies/install-shellcheck/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ runs:
1313
- name: Install shellcheck
1414
shell: bash
1515
run: |
16-
.azure/scripts/setup_shellcheck.sh "${{ inputs.architecture }}"
16+
${{ github.action_path }}/../../../../.azure/scripts/setup_shellcheck.sh "${{ inputs.architecture }}"

.github/actions/dependencies/install-yq/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ runs:
1313
- name: Install yq
1414
shell: bash
1515
run: |
16-
.azure/scripts/install_yq.sh "${{ inputs.architecture }}"
16+
${{ github.action_path }}/../../../../.azure/scripts/install_yq.sh "${{ inputs.architecture }}"

.github/actions/dependencies/setup-kind/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ runs:
6969
- name: Setup Kind
7070
shell: bash
7171
run: |
72-
./.azure/scripts/setup-kind.sh "${{ inputs.architecture }}"
72+
${{ github.action_path }}/../../../../.azure/scripts/setup-kind.sh "${{ inputs.architecture }}"
7373
env:
7474
REGISTRY_IMAGE: ${{ inputs.registry }}
7575
CONTROL_NODES: ${{ inputs.controlNodes }}

.github/actions/dependencies/setup-minikube/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
- name: Setup Minikube
4646
shell: bash
4747
run: |
48-
./.azure/scripts/setup-kubernetes.sh "${{ inputs.architecture }}"
48+
${{ github.action_path }}/../../../../.azure/scripts/setup-kubernetes.sh "${{ inputs.architecture }}"
4949
5050
env:
5151
TEST_CLUSTER: minikube

0 commit comments

Comments
 (0)