Skip to content

Commit 31aef3f

Browse files
committed
WIP.
1 parent c95a0bc commit 31aef3f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
22
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
3-
name: CMake on multiple platforms
3+
name: Build and test on multiple platforms
44

55
on:
66
push:
@@ -47,6 +47,18 @@ jobs:
4747

4848
steps:
4949
- uses: actions/checkout@v4
50+
with:
51+
ref: ${{ github.sha }}
52+
fetch-depth: 0
53+
54+
- name: Debug commit info
55+
run: |
56+
echo "Event: ${{ github.event_name }}"
57+
echo "Current SHA: ${{ github.sha }}"
58+
echo "Current ref: ${{ github.ref }}"
59+
echo "Head commit: ${{ github.event.head_commit.message }}"
60+
git log -3 --oneline
61+
git status
5062
5163
- name: Set reusable strings
5264
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.

0 commit comments

Comments
 (0)