Skip to content

Commit 9e31e74

Browse files
committed
update to wheel.yaml
1 parent 4eec08f commit 9e31e74

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/wheel.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ jobs:
132132
- name: Checkout repository
133133
uses: actions/checkout@v4
134134
with:
135+
repository: quadric-io/onnxruntime
135136
fetch-depth: 0
136-
ref: ${{ inputs.onnxruntime_branch || github.ref }}
137+
ref: ${{ inputs.onnxruntime_branch || 'main' }}
137138

138139
- name: Download all wheel artifacts
139140
uses: actions/download-artifact@v4
@@ -143,11 +144,12 @@ jobs:
143144
- name: Get current commit info
144145
id: commit_info
145146
run: |
146-
commit_sha=${{ github.sha }}
147+
# Get the actual commit we checked out, not github.sha
148+
commit_sha=$(git rev-parse HEAD)
147149
echo "commit_sha=$commit_sha" >> $GITHUB_OUTPUT
148-
short_sha=$(git rev-parse --short $commit_sha)
150+
short_sha=$(git rev-parse --short HEAD)
149151
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
150-
commit_message=$(git log -1 --pretty=format:"%s" $commit_sha)
152+
commit_message=$(git log -1 --pretty=format:"%s" HEAD)
151153
echo "commit_message=$commit_message" >> $GITHUB_OUTPUT
152154
153155
- name: Delete existing stable release

0 commit comments

Comments
 (0)