Skip to content

Commit

Permalink
#25 use delimeter for multi line
Browse files Browse the repository at this point in the history
  • Loading branch information
kasramp committed Apr 30, 2023
1 parent f04f1c9 commit fab2327
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
- name: Set last commit
shell: bash
run: |
echo "LAST_COMMIT=$(git log -n 1)" >> "$GITHUB_OUTPUT"
echo "LAST_COMMIT<<EOF" >> $GITHUB_OUTPUT
echo "$(git log -n 1)" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
id: version
- name: Tag
shell: bash
Expand All @@ -56,7 +58,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
shell: bash
run: |
echo "TAGGED_VERSION=$(git for-each-ref --sort=-creatordate --format='%(refname:short)' refs/tags --count 10 | grep -oP '^eris-(\d+).*' | head -1)" >> "$GITHUB_OUTPUT"
echo "TAGGED_VERSION=$(git for-each-ref --sort=-creatordate --format='%(refname:short)' refs/tags --count 10 | grep -oP '^eris-(\d+).*' | head -1)" >> $GITHUB_OUTPUT
- name: Perform release
uses: ncipollo/release-action@v1
if: ${{ github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit fab2327

Please sign in to comment.