Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BattleCh1cken committed May 8, 2024
1 parent 1023561 commit 7d8cdbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
sha=$(wget -O- --quiet https://api.github.com/repos/LemLib/LemLib/pulls/$PR_NUM | jq -r .head.sha | head -c 6)
else
echo "else"
sha=$(echo $AFTER | head -c 6)
sha=$(echo "$AFTER" | head -c 6)
fi
echo "sha=$sha" >> $GITHUB_OUTPUT
env:
Expand All @@ -57,15 +57,16 @@ runs:
run: |
version=$(awk -F'=' '/^VERSION:=/{print $2}' Makefile)
echo "version=$version" >> "$GITHUB_OUTPUT"
env:
VER: ${{ steps.version.outputs.version }}

- name: Get Template Postfix
id: template-postfix
shell: bash
run: |
echo postfix="$VER+$SHA" >> "$GITHUB_OUTPUT"
env:
SHA: ${{ steps.short-sha.outputs.sha }}
VER: ${{ steps.version.outputs.version }}
POSTFIX: ${{ steps.template-postfix.outputs.postfix }}

- name: Get Template Name
id: template-name
Expand Down

0 comments on commit 7d8cdbe

Please sign in to comment.