Skip to content

Commit 7dd7453

Browse files
authored
Change checkout ref to use github.ref
1 parent 8be0439 commit 7dd7453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
- name: Checkout repository
157157
uses: actions/checkout@v3
158158
with:
159-
ref: ${{ github.event.inputs.COMMIT_SHA }}
159+
ref: ${{ github.ref }}
160160
fetch-depth: 1
161161
sparse-checkout: |
162162
unittests
@@ -183,4 +183,4 @@ jobs:
183183
run: |
184184
ctest -C ${{ matrix.configuration }} -VV -R dxc_smoke --output-on-failure
185185
working-directory: unittests\Devsh\build
186-
shell: cmd
186+
shell: cmd

0 commit comments

Comments
 (0)