From dc4a0ff82c939ff5201cc5d31597d30b8545ce6a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 17 Apr 2024 17:25:50 -1000 Subject: [PATCH] ;ci: clean up github cache/post-cache titles again --- .github/workflows/binaries-linux-x64.yml | 25 +++++++++------------- .github/workflows/binaries-mac-arm64.yml | 14 ++++++------ .github/workflows/binaries-mac-x64.yml | 14 ++++++------ .github/workflows/binaries-windows-x64.yml | 14 ++++++------ 4 files changed, 31 insertions(+), 36 deletions(-) diff --git a/.github/workflows/binaries-linux-x64.yml b/.github/workflows/binaries-linux-x64.yml index 74ea87fb4..4092f1480 100644 --- a/.github/workflows/binaries-linux-x64.yml +++ b/.github/workflows/binaries-linux-x64.yml @@ -27,17 +27,12 @@ jobs: - name: Check out uses: actions/checkout@v4 # have to fetch everything for git describe for --version - with: + with: fetch-depth: 0 - # requires bash - # - name: Check embedded files - # run: | - # tools/checkembeddedfiles - # things to be cached/restored: - - name: Uncache ghcup-installed tools + - name: process cache of ghcup-installed tools id: ghcup uses: actions/cache@v4 with: @@ -46,7 +41,7 @@ jobs: restore-keys: | ${{ runner.os }}-ghcup - # - name: Uncache cabal-installed libs + # - name: process cache of cabal-installed libs # id: cabal # uses: actions/cache@v4 # with: @@ -55,7 +50,7 @@ jobs: # restore-keys: | # ${{ runner.os }}-cabal - - name: Uncache stack global package db + - name: process cache of stack global package db id: stack-global uses: actions/cache@v4 with: @@ -64,7 +59,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-global-20240417 - - name: Uncache stack-installed programs in ~/.local/bin + - name: process cache of stack-installed programs in ~/.local/bin id: stack-programs uses: actions/cache@v4 with: @@ -73,7 +68,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-programs-20240417 - - name: Uncache .stack-work + - name: process cache of .stack-work uses: actions/cache@v4 with: path: .stack-work @@ -81,7 +76,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-work-20240417 - - name: Uncache hledger-lib/.stack-work + - name: process cache of hledger-lib/.stack-work uses: actions/cache@v4 with: path: hledger-lib/.stack-work @@ -89,7 +84,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-lib-stack-work-20240417 - - name: Uncache hledger/.stack-work + - name: process cache of hledger/.stack-work uses: actions/cache@v4 with: path: hledger/.stack-work @@ -97,7 +92,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-stack-work-20240417 - - name: Uncache hledger-ui/.stack-work + - name: process cache of hledger-ui/.stack-work uses: actions/cache@v4 with: path: hledger-ui/.stack-work @@ -105,7 +100,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-ui-stack-work-20240417 - - name: Uncache hledger-web/.stack-work + - name: process cache of hledger-web/.stack-work uses: actions/cache@v4 with: path: hledger-web/.stack-work diff --git a/.github/workflows/binaries-mac-arm64.yml b/.github/workflows/binaries-mac-arm64.yml index a9ce78b68..dba01416f 100644 --- a/.github/workflows/binaries-mac-arm64.yml +++ b/.github/workflows/binaries-mac-arm64.yml @@ -54,7 +54,7 @@ jobs: # things to be cached/restored: - - name: Uncache stack global package db + - name: process cache of stack global package db id: stack-global uses: actions/cache@v4 with: @@ -63,7 +63,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-global-from20220817 - - name: Uncache stack-installed programs in ~/.local/bin + - name: process cache of stack-installed programs in ~/.local/bin id: stack-programs uses: actions/cache@v4 with: @@ -72,7 +72,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-programs-from20220817 - - name: Uncache .stack-work + - name: process cache of .stack-work uses: actions/cache@v4 with: path: .stack-work @@ -80,7 +80,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-work-from20220817 - - name: Uncache hledger-lib/.stack-work + - name: process cache of hledger-lib/.stack-work uses: actions/cache@v4 with: path: hledger-lib/.stack-work @@ -88,7 +88,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-lib-stack-work-from20220817 - - name: Uncache hledger/.stack-work + - name: process cache of hledger/.stack-work uses: actions/cache@v4 with: path: hledger/.stack-work @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-stack-work-from20220817 - - name: Uncache hledger-ui/.stack-work + - name: process cache of hledger-ui/.stack-work uses: actions/cache@v4 with: path: hledger-ui/.stack-work @@ -104,7 +104,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-ui-stack-work-from20220817 - - name: Uncache hledger-web/.stack-work + - name: process cache of hledger-web/.stack-work uses: actions/cache@v4 with: path: hledger-web/.stack-work diff --git a/.github/workflows/binaries-mac-x64.yml b/.github/workflows/binaries-mac-x64.yml index 07c6fbfb5..39d84b86f 100644 --- a/.github/workflows/binaries-mac-x64.yml +++ b/.github/workflows/binaries-mac-x64.yml @@ -54,7 +54,7 @@ jobs: # things to be cached/restored: - - name: Uncache stack global package db + - name: process cache of stack global package db id: stack-global uses: actions/cache@v4 with: @@ -63,7 +63,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-global-from20220817 - - name: Uncache stack-installed programs in ~/.local/bin + - name: process cache of stack-installed programs in ~/.local/bin id: stack-programs uses: actions/cache@v4 with: @@ -72,7 +72,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-programs-from20220817 - - name: Uncache .stack-work + - name: process cache of .stack-work uses: actions/cache@v4 with: path: .stack-work @@ -80,7 +80,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-work-from20220817 - - name: Uncache hledger-lib/.stack-work + - name: process cache of hledger-lib/.stack-work uses: actions/cache@v4 with: path: hledger-lib/.stack-work @@ -88,7 +88,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-lib-stack-work-from20220817 - - name: Uncache hledger/.stack-work + - name: process cache of hledger/.stack-work uses: actions/cache@v4 with: path: hledger/.stack-work @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-stack-work-from20220817 - - name: Uncache hledger-ui/.stack-work + - name: process cache of hledger-ui/.stack-work uses: actions/cache@v4 with: path: hledger-ui/.stack-work @@ -104,7 +104,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-ui-stack-work-from20220817 - - name: Uncache hledger-web/.stack-work + - name: process cache of hledger-web/.stack-work uses: actions/cache@v4 with: path: hledger-web/.stack-work diff --git a/.github/workflows/binaries-windows-x64.yml b/.github/workflows/binaries-windows-x64.yml index c3a878106..15c1b2d84 100644 --- a/.github/workflows/binaries-windows-x64.yml +++ b/.github/workflows/binaries-windows-x64.yml @@ -31,7 +31,7 @@ jobs: # things to be cached/restored: - - name: Uncache stack global package db + - name: process cache of stack global package db id: stack-global-package-db uses: actions/cache@v4 with: @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-appdata-roaming-stack - - name: Uncache stack programs dir # ghc, ghc-included packages and their haddocks, mingw, msys2 + - name: process cache of stack programs dir # ghc, ghc-included packages and their haddocks, mingw, msys2 id: stack-programs-dir uses: actions/cache@v4 with: @@ -51,7 +51,7 @@ jobs: restore-keys: | ${{ runner.os }}-appdata-local-programs-stack - - name: Uncache .stack-work + - name: process cache of .stack-work uses: actions/cache@v4 with: path: .stack-work @@ -59,7 +59,7 @@ jobs: restore-keys: | ${{ runner.os }}-stack-work - - name: Uncache hledger-lib/.stack-work + - name: process cache of hledger-lib/.stack-work uses: actions/cache@v4 with: path: hledger-lib/.stack-work @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-lib-stack-work - - name: Uncache hledger/.stack-work + - name: process cache of hledger/.stack-work uses: actions/cache@v4 with: path: hledger/.stack-work @@ -75,7 +75,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-stack-work - - name: Uncache hledger-ui/.stack-work + - name: process cache of hledger-ui/.stack-work uses: actions/cache@v4 with: path: hledger-ui/.stack-work @@ -83,7 +83,7 @@ jobs: restore-keys: | ${{ runner.os }}-hledger-ui-stack-work - - name: Uncache hledger-web/.stack-work + - name: process cache of hledger-web/.stack-work uses: actions/cache@v4 with: path: hledger-web/.stack-work