diff options
author | Valery Piashchynski <[email protected]> | 2022-11-27 01:50:46 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-11-27 01:50:46 +0100 |
commit | 81902c47d4ead873c2191302042e715645aded2a (patch) | |
tree | c373a29c12aa4ea0431e94b8d16c4fc7ca06390c /.github/workflows/tests.yml | |
parent | 1228f1cc32a10773441d2faf8e31bad26856ef77 (diff) |
chore: update deprecated github api
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r-- | .github/workflows/tests.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e6d6d3d3..2ca514b8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -112,8 +112,8 @@ jobs: - name: Generate version value id: values # for PR this value will be `merge@__hash__`, SO: <https://stackoverflow.com/a/59780579/2252921> run: | - echo "{name}={version} >> `echo ${GITHUB_REF##*/}`@`echo ${GITHUB_SHA} | cut -c1-8`" - echo "{name}={timestamp} >> `date +%FT%T%z`" + echo "version=$(echo ${GITHUB_REF##*/} | sed -e 's/^[vV ]*//')" >> $GITHUB_OUTPUT + echo "timestamp=$(echo $(date +%FT%T%z))" >> $GITHUB_OUTPUT - name: Compile binary file env: |