Skip to content

Commit

Permalink
🔨 [CI][create_release_executables] Reuse cache from build_and_run_tes…
Browse files Browse the repository at this point in the history
…ts + Automatically run when adding tag
  • Loading branch information
JulesFouchy committed Jan 17, 2024
1 parent 71b3a6a commit a95ac43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create_release_executables.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Create release executables

on: workflow_dispatch
on:
push:
branches: [main]
tags:
- '*'

env:
cmake_configure_args: -D WARNINGS_AS_ERRORS_FOR_COOLLAB=ON -D COOLLAB_REQUIRE_ALL_FEATURES=ON
Expand Down Expand Up @@ -57,7 +61,7 @@ jobs:
- name: ccache
uses: hendrikmuhs/ccache-action@main
with:
key: ${{matrix.config.name}}
key: ${{matrix.config.name}} Clang-Release # Key name should match the one used in build_and_run_tests.yml so that we can reuse its cache.

- name: Build
uses: lukka/run-cmake@v3
Expand Down

0 comments on commit a95ac43

Please sign in to comment.