Skip to content

Commit

Permalink
commit id fetch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajithvcoder committed Nov 5, 2024
1 parent 19692d9 commit e6dab91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:

- name: Display the commit ID
run: |
echo "Latest commit ID is: ${{ needs.build-and-push-ecr-image.get_commit_id.outputs.commit_id }}"
echo "Latest commit ID is: ${{ needs.build-and-push-ecr-image.outputs.commit_id }}"
- name: Get latest commit ID
id: get_commit_id_runner
run: |
echo "::set-output name=commit_id::${{ needs.build-and-push-ecr-image.get_commit_id.outputs.commit_id }}"
echo "::set-output name=commit_id::${{ needs.build-and-push-ecr-image.outputs.commit_id }}"
EC2-runner:
Expand All @@ -69,12 +69,12 @@ jobs:

- name: Display the commit ID
run: |
echo "Latest commit ID is: ${{ needs.launch-runner.get_commit_id_runner.outputs.commit_id }}"
echo "Latest commit ID is: ${{ needs.launch-runner.outputs.commit_id }}"
- name: Get latest commit ID
id: get_commit_id_ec2
run: |
echo "::set-output name=commit_id::${{ needs.launch-runner.get_commit_id_runner.outputs.commit_id }}"
echo "::set-output name=commit_id::${{ needs.launch-runner.outputs.commit_id }}"
# - name: Deploy runner on AWS EC2
Expand Down

0 comments on commit e6dab91

Please sign in to comment.