File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 8282 uses : actions/checkout@v4
8383 with :
8484 ref : master
85- fetch-depth : 0
8685
8786 - name : Download update tool
8887 uses : robinraju/release-downloader@v1
@@ -125,6 +124,12 @@ jobs:
125124
126125 dotnet redist_tool/UnturnedRedistUpdateTool.dll "$GITHUB_WORKSPACE" "$GITHUB_WORKSPACE/$REDIST_DIR" "$APP_ID" $flags
127126
127+ - name : Generate Commit Message
128+ run : |
129+ msg=$( cat .commit )
130+ echo "message=$msg" >> "$GITHUB_OUTPUT"
131+ id : generate_commit_message
132+
128133 - name : Commit changes
129134 if : success()
130135 run : |
@@ -136,7 +141,8 @@ jobs:
136141 else
137142 git add -A
138143 git reset README.md # Reset README.md, cause steamcmd override it.
139- git commit -m "Update redist: ${{ matrix.variant }}"
144+ git status
145+ git commit -m "${{ steps.generate_commit_message.outputs.message }}"
140146 git push
141147 fi
142148
You can’t perform that action at this time.
0 commit comments