File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments