[wip] remove unnecessary double-quotes from cache key component

This commit is contained in:
Michael Bradley, Jr 2022-09-26 00:19:35 -05:00
parent 0229a4e95e
commit e563628aa1
No known key found for this signature in database
GPG Key ID: D0307DBCF21A9A58
1 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Adapted from:
# 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
on:
@ -11,8 +11,6 @@ on:
pull_request:
workflow_dispatch:
# expect failure because docker images aren't cached across runs for the Testground GHA workflow
jobs:
build:
strategy:
@ -64,9 +62,9 @@ jobs:
- name: Calculate cache-key components
id: calc-cache-key-components
run: |
cd ../testground
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
id: testground-exe-cache