Skip to content

Commit 32b2928

Browse files
committed
git: Fix new lines getting included
1 parent 8d34334 commit 32b2928

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,5 @@ jobs:
8888
needs: tests
8989
uses: WerWolv/ImHex-Patterns/.github/workflows/tests.yml@master
9090
with:
91-
pattern_language_git_repo: |
92-
${{ github.server_url }}/${{
93-
github.event_name == 'pull_request'
94-
&& github.event.pull_request.head.repo.full_name
95-
|| github.repository
96-
}}
97-
pattern_language_git_hash: |
98-
${{
99-
github.event_name == 'pull_request'
100-
&& github.event.pull_request.head.sha
101-
|| github.sha
102-
}}
91+
pattern_language_git_repo: ${{ github.server_url }}/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}
92+
pattern_language_git_hash: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)