try iterating sha hashes in github workflow

This commit is contained in:
narodnik
2021-03-17 15:14:55 +01:00
parent cac1340f19
commit 9a32e7e85e

View File

@@ -6,8 +6,9 @@ jobs:
name: Send message via Matrix
steps:
- run: |
commits=${{ join(github.event.commits.*.id, ' ') }}
echo '::set-output name=COMMIT_MESSAGE::$commits'
for i in ${{ join(github.event.commits.*.id, ' ') }}; do
echo '::set-output name=COMMIT_MESSAGE::$i'
done
id: commit-message
- uses: narodnik/matrix-action@main
with: