Skip to content

Commit 6e76328

Browse files
committed
fix: finalized CI workflows with proper inputs context and removed debug code
1 parent b289df5 commit 6e76328

3 files changed

Lines changed: 12 additions & 16 deletions

File tree

.github/workflows/generate_Robotics_Academy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ jobs:
9797
- name: Save the version tag
9898
run: echo "TAG=${TAG#v}" >> $GITHUB_ENV
9999
- run: echo ${TAG}
100-
- name: Verify Fix
101-
run: echo "SUCCESS - Using passed input RI is ${{ inputs.RI }}"
102100
- name: Check out the repo # checking our the code at current commit that triggers the workflow
103101
uses: actions/checkout@v3
104102
with:

.github/workflows/generate_Robotics_Academy_Database.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ jobs:
7272
- name: Save the version tag
7373
run: echo "TAG=${TAG#v}" >> $GITHUB_ENV
7474
- run: echo ${TAG}
75-
- name: Verify Fix
76-
run: echo "SUCCESS - Using passed input RI is ${{ inputs.RI }}"
7775
- name: Check out the repo # checking our the code at current commit that triggers the workflow
7876
uses: actions/checkout@v3
7977
with:

.github/workflows/release_Robotics_Academy.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,24 @@ jobs:
4747
name: Generate Robotics Academy Image
4848
uses: ./.github/workflows/generate_Robotics_Academy.yml
4949
with:
50-
tag: ${{ github.event.inputs.tag }}
50+
tag: ${{ inputs.tag }}
5151
latest: ${{ inputs.latest }}
52-
RA: ${{ github.event.inputs.RA }}
53-
RI: ${{ github.event.inputs.RI }}
54-
RAM: ${{ github.event.inputs.RAM }}
55-
ROS: ${{ github.event.inputs.ROS }}
56-
academy_owner: ${{ github.event.inputs.academy_owner }}
57-
infra_owner: ${{ github.event.inputs.infra_owner }}
52+
RA: ${{ inputs.RA }}
53+
RI: ${{ inputs.RI }}
54+
RAM: ${{ inputs.RAM }}
55+
ROS: ${{ inputs.ROS }}
56+
academy_owner: ${{ inputs.academy_owner }}
57+
infra_owner: ${{ inputs.infra_owner }}
5858
secrets: inherit
5959

6060
generate-RA-database-docker-image:
6161
name: Generate Robotics Academy Database Image
6262
uses: ./.github/workflows/generate_Robotics_Academy_Database.yml
6363
with:
64-
tag: ${{ github.event.inputs.tag }}
64+
tag: ${{ inputs.tag }}
6565
latest: ${{ inputs.latest }}
66-
RA: ${{ github.event.inputs.RA }}
67-
RI: ${{ github.event.inputs.RIDB }}
68-
academy_owner: ${{ github.event.inputs.academy_owner }}
69-
infra_owner: ${{ github.event.inputs.infra_owner }}
66+
RA: ${{ inputs.RA }}
67+
RI: ${{ inputs.RIDB }}
68+
academy_owner: ${{ inputs.academy_owner }}
69+
infra_owner: ${{ inputs.infra_owner }}
7070
secrets: inherit

0 commit comments

Comments
 (0)