Skip to content

Commit 1ee8625

Browse files
committed
include compiler version hash in ccache key
1 parent 544164b commit 1ee8625

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/actions/setup-ccache/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@ runs:
3333
else
3434
PREFIX="${GITHUB_REPOSITORY##*/}"
3535
fi
36+
COMPILER_VER="$(cc --version 2>&1 | head -1)"
37+
COMPILER_HASH="$(echo "${COMPILER_VER}" | shasum -a 256 | cut -d' ' -f1 | head -c 16)"
3638
echo "prefix=${PREFIX}" >> "$GITHUB_OUTPUT"
3739
echo "ccache_dir=$HOME/.ccache" >> "$GITHUB_OUTPUT"
40+
echo "compiler_hash=${COMPILER_HASH}" >> "$GITHUB_OUTPUT"
3841
3942
- name: Restore ccache
4043
uses: actions/cache@v4
4144
with:
4245
path: ${{ steps.cache-key.outputs.ccache_dir }}
43-
key: ${{ steps.cache-key.outputs.prefix }}-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt','**/*.cmake') }}
46+
key: ${{ steps.cache-key.outputs.prefix }}-${{ runner.os }}-${{ steps.cache-key.outputs.compiler_hash }}-${{ hashFiles('**/CMakeLists.txt','**/*.cmake') }}
4447
restore-keys: |
4548
${{ steps.cache-key.outputs.prefix }}-${{ runner.os }}-
4649

src/nmail.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2-
.TH NMAIL "1" "February 2026" "nmail 5.11.2" "User Commands"
2+
.TH NMAIL "1" "February 2026" "nmail 5.11.3" "User Commands"
33
.SH NAME
44
nmail \- ncurses mail
55
.SH SYNOPSIS

src/version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "version.h"
99

10-
#define NMAIL_VERSION "5.11.2"
10+
#define NMAIL_VERSION "5.11.3"
1111

1212
std::string Version::GetBuildOs()
1313
{

0 commit comments

Comments
 (0)