mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-03 08:34:37 +00:00
[wip] remove unnecessary double-quotes from cache key component
This commit is contained in:
parent
0229a4e95e
commit
e563628aa1
8
.github/workflows/testground.yml
vendored
8
.github/workflows/testground.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
# Adapted from:
|
# Adapted from:
|
||||||
# https://github.com/status-im/nim-codex/blob/main/.github/workflows/ci.yml
|
# https://github.com/status-im/nim-codex/blob/main/.github/workflows/ci.yml
|
||||||
|
|
||||||
# remove me next
|
# remove me next 2 (stripped double-quotes from string returned by `docker manifest inspect ...`
|
||||||
|
|
||||||
name: Testground
|
name: Testground
|
||||||
on:
|
on:
|
||||||
@ -11,8 +11,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# expect failure because docker images aren't cached across runs for the Testground GHA workflow
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
@ -64,9 +62,9 @@ jobs:
|
|||||||
- name: Calculate cache-key components
|
- name: Calculate cache-key components
|
||||||
id: calc-cache-key-components
|
id: calc-cache-key-components
|
||||||
run: |
|
run: |
|
||||||
cd ../testground
|
|
||||||
echo "::set-output name=hash::$(git rev-parse $(git branch --show-current))"
|
echo "::set-output name=hash::$(git rev-parse $(git branch --show-current))"
|
||||||
echo "::set-output name=digest::$(docker manifest inspect nimlang/nim:latest | jq '.config.digest')"
|
echo "::set-output name=digest::$(docker manifest inspect nimlang/nim:latest | jq '.config.digest' | awk -F'"' '{ print $2}')"
|
||||||
|
working-directory: testground
|
||||||
|
|
||||||
- name: Restore Testground executable from cache
|
- name: Restore Testground executable from cache
|
||||||
id: testground-exe-cache
|
id: testground-exe-cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user