Skip to content

Commit c5f0834

Browse files
committed
Fix workflow file
1 parent 3dd1744 commit c5f0834

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/maven-workflow-run.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@ jobs:
2828
- uses: actions/checkout@v3
2929
with:
3030
ref: ${{ github.event.inputs.commit_sha }}
31-
- name: Commit SHA
32-
run: |
33-
echo "commit_sha=${{ github.event.inputs.commit_sha }}" >> $GITHUB_ENV
34-
echo "commit_sha=${{ github.event.inputs.commit_sha }}" >> $env:GITHUB_ENV
3531
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
3632
id: status-check-in-progress
3733
env:
3834
job_name: TestNG Repo ${{ matrix.Java }} - ${{ matrix.os }} Sample
35+
commit_sha: ${{ github.event.inputs.commit_sha }}
3936
with:
4037
github-token: ${{ github.token }}
4138
script: |
@@ -73,6 +70,7 @@ jobs:
7370
env:
7471
conclusion: ${{ job.status }}
7572
job_name: TestNG Repo ${{ matrix.Java }} - ${{ matrix.os }} Sample
73+
commit_sha: ${{ github.event.inputs.commit_sha }}
7674
with:
7775
github-token: ${{ github.token }}
7876
script: |

0 commit comments

Comments
 (0)