Skip to content

Commit 25d47dc

Browse files
authored
Add SDK version to CI
1 parent 1d4b989 commit 25d47dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,9 @@ jobs:
263263
build_info=$(cat ./modules/build_info.txt)
264264
echo "branch=${build_info%%/*}" >> $GITHUB_OUTPUT
265265
echo "version=${build_info##*/}" >> $GITHUB_OUTPUT
266+
echo "sdk_commit=$(cat ./modules/sdk_version.txt)" >> $GITHUB_OUTPUT
266267
- run: npm i @altmp/upload-tool@latest
267-
- run: npx alt-upload linux coreclr-module/$BRANCH/x64_linux $VERSION
268+
- run: npx alt-upload linux coreclr-module/$BRANCH/x64_linux $VERSION $SDK_VERSION
268269
working-directory: ./modules
269270
env:
270271
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
@@ -276,7 +277,8 @@ jobs:
276277
CF_CACHE_PURGE_URL: ${{ secrets.CF_CACHE_PURGE_URL }}
277278
BRANCH: ${{ steps.build_info.outputs.branch }}
278279
VERSION: ${{ steps.build_info.outputs.version }}
279-
- run: npx alt-upload windows coreclr-module/$BRANCH/x64_win32 $VERSION
280+
SDK_VERSION: ${{ steps.build_info.outputs.sdk_commit }}
281+
- run: npx alt-upload windows coreclr-module/$BRANCH/x64_win32 $VERSION $SDK_VERSION
280282
working-directory: ./modules
281283
env:
282284
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
@@ -288,6 +290,7 @@ jobs:
288290
CF_CACHE_PURGE_URL: ${{ secrets.CF_CACHE_PURGE_URL }}
289291
BRANCH: ${{ steps.build_info.outputs.branch }}
290292
VERSION: ${{ steps.build_info.outputs.version }}
293+
SDK_VERSION: ${{ steps.build_info.outputs.sdk_commit }}
291294
deploy-nuget:
292295
runs-on: ubuntu-latest
293296
needs: [build-api, build-server]

0 commit comments

Comments
 (0)