Skip to content

Commit bc01671

Browse files
committed
add short sha to steam deployment descriptions
1 parent 43fe6be commit bc01671

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/steam-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,15 @@ jobs:
7474
rm ${name}-depot.tar.bz2
7575
cd ..
7676
done
77+
- name: Get short SHA of commit
78+
run: echo "SHORT_SHA=`echo ${{ github.sha }} | cut -c1-8`" >>$GITHUB_ENV
7779
- name: Steam deploy
7880
uses: game-ci/steam-deploy@v3
7981
with:
8082
username: ${{ secrets.STEAM_USERNAME }}
8183
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
8284
appId: 2346660
83-
buildDescription: ${{ github.event.inputs && github.event.inputs.version || github.ref_name }}
85+
buildDescription: ${{ github.event.inputs && github.event.inputs.version || github.ref_name }} (${{ env.SHORT_SHA }})
8486
rootPath: .
8587
depot1Path: common-depot
8688
depot2Path: win64-depot

0 commit comments

Comments
 (0)