mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
chore(actions): use bash patterns for commit SHA trimming
This commit is contained in:
parent
2039f4a343
commit
42834db248
1 changed files with 1 additions and 1 deletions
2
.github/workflows/debug.yml
vendored
2
.github/workflows/debug.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Trim commit SHA
|
- name: Trim commit SHA
|
||||||
id: trim_sha
|
id: trim_sha
|
||||||
run: echo "trimmed_sha='r$(echo ${{ github.sha }} | cut -c1-7)'" >> $GITHUB_ENV
|
run: echo "trimmed_sha=${{ github.sha:0:7 }}" >> $GITHUB_ENV
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Add table
Reference in a new issue