File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 7878 with :
7979 path : |
8080 build
81- key : ${{ runner.os }}-build
81+ restore-keys :
82+ ${{ runner.os }}-build
8283 - name : Build
8384 run : |
8485 xmake f --cc=gcc-14 --cxx=g++-14 -y
9192 with :
9293 path : |
9394 build
94- key : ${{ steps.restore-cache. outputs.cache-primary-key }}
95+ key : ${{ runner.os }}-build-${{ needs.versioning. outputs.fullSemVer }}
9596 - name : Upload plugin as artifact
9697 uses : actions/upload-artifact@v4
9798 with :
@@ -120,7 +121,8 @@ jobs:
120121 with :
121122 path : |
122123 build
123- key : ${{ runner.os }}-build
124+ restore-keys :
125+ ${{ runner.os }}-build
124126 - name : Build
125127 run : |
126128 xmake f --policies=build.ccache:y -y
@@ -133,7 +135,7 @@ jobs:
133135 with :
134136 path : |
135137 build
136- key : ${{ steps.restore-cache. outputs.cache-primary-key }}
138+ key : ${{ runner.os }}-build-${{ needs.versioning. outputs.fullSemVer }}
137139 - name : Upload plugin as artifact
138140 uses : actions/upload-artifact@v4
139141 with :
@@ -221,6 +223,10 @@ jobs:
221223 run : |
222224 TAG_NAME="${{ needs.versioning.outputs.fullSemVer }}"
223225 MSG="Release v${{ needs.versioning.outputs.fullSemVer }}"
226+
227+ git config --global user.name "github-actions[bot]"
228+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
229+
224230 if git rev-parse -q --verify "refs/tags/$TAG_NAME" >/dev/null; then
225231 echo "Tag $TAG_NAME already exists"; exit 1
226232 fi
You can’t perform that action at this time.
0 commit comments