ci: Cache submodules and fix artifact naming

This commit is contained in:
Tyler Wilding authored and lightningterror committed 2020-09-19 21:54:20 +02:00
1 parent 2a292fdc05
commit 2e9a32e7ec
2 files changed
+34 -9

No files matched your search

+13 -2
View File
@@ -53,10 +53,21 @@ jobs:
# echo "$GITHUB_CONTEXT"
# echo ${{ github.event.pull_request.title }}
- name: Checkout Repository & Submodules
- name: Checkout Repository
uses: actions/checkout@v2
- name: Cache Submodules
id: cache-submodules
uses: actions/cache@v2
with:
submodules: true
key: submodules-${{ hashFiles('./.gitmodules') }}
path: |
./3rdparty/xz
./3rdparty/gtest
- name: Checkout Submodules
if: steps.cache-submodules.outputs.cache-hit != 'true'
run: git submodule update --init --recursive
# -- SETUP CCACHE - https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
- name: Prepare ccache timestamp