File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 88 push :
99 branches :
1010 - master
11+ tags :
12+ - ' v[0-9]+.[0-9]+.[0-9]+'
1113
1214jobs :
1315 build :
@@ -30,11 +32,19 @@ jobs:
3032 git submodule sync --recursive
3133 git submodule update --init --force --recursive --depth=1
3234
35+ - name : Cache xmake dependencies
36+ uses : actions/cache@v4
37+ with :
38+ path : ~/AppData/Local/.xmake/packages
39+ key : ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }}
40+
3341 # Install xmake
3442 - name : Setup xmake
3543 uses : xmake-io/github-action-setup-xmake@v1
3644 with :
3745 xmake-version : 2.9.5
46+ actions-cache-folder : ' .xmake-cache' # This doesn't cache dependencies, only xmake itself
47+ actions-cache-key : ${{ matrix.os }}
3848
3949 - name : Configure xmake and install dependencies
4050 run : xmake config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes -vD
@@ -80,11 +90,11 @@ jobs:
8090
8191 # Upload artifact
8292
83- - name : Store short commit hash
84- run : echo "SHORT_SHA =$("${{ github.sha }}".SubString(0, 8) )" >> $env:GITHUB_ENV
93+ - name : Store version string
94+ run : echo "STR_VERSION =$(git describe --tags )" >> $env:GITHUB_ENV
8595
8696 - name : Upload playable build
8797 uses : actions/upload-artifact@v4
8898 with :
89- name : Skyrim Together Build (${{ env.SHORT_SHA }})
99+ name : Skyrim Together Build (${{ env.STR_VERSION }})
90100 path : str-build/
You can’t perform that action at this time.
0 commit comments