Minor updates to CI/CD Pipeline

This commit is contained in:
Rob Giseburt
2023-02-17 21:12:02 -06:00
parent c4d481709f
commit 5b665f1471
+8 -6
View File
@@ -1,4 +1,4 @@
name: C/C++ CI name: Build G2
on: on:
push: push:
@@ -10,19 +10,21 @@ on:
# branches: # branches:
jobs: jobs:
checkout: Build:
name: checkout the repo with submodules name: Checkout and Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Cache Tools - name: Cache Tools
id: cache-tools id: cache-tools
uses: actions/cache@v1 uses: actions/cache@v3
with: with:
path: ./Motate/Tools/linux path: ./Motate/Tools/linux
key: ${{ runner.os }}-tools-02 # Change the number to invalidate the tools caches key: ${{ runner.os }}-tools-03 # Change the number to invalidate the tools caches
- name: prepare - name: prepare
working-directory: ${{ github.workspace }}/g2core/ working-directory: ${{ github.workspace }}/g2core/