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 ca0a896 commit c970763
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,19 @@ runs:
echo "else"
sha=$(echo "$AFTER" | head -c 6)
fi
echo "sha=$sha" >> $GITHUB_OUTPUT
echo "SHA found: $sha"
version=$(awk -F'=' '/^VERSION:=/{print $2}' Makefile)
echo "Version found: $version"
echo "version=$version" >> "$GITHUB_OUTPUT"
echo postfix="$VER+$SHA" >> "$GITHUB_OUTPUT"
echo "Postfix found: $postfix"
echo name=$TEMPLATE_NAME@$POSTFIX >> "$GITHUB_OUTPUT"
echo "Name found: $name"
# Update version in Makefile
sed -i "s/^VERSION:=.*\$/VERSION:=$POSTFIX/" Makefile
Expand All @@ -69,7 +74,6 @@ runs:
POSTFIX: ${{ steps.project-info.outputs.postfix }}
NAME: ${{ steps.project-info.outputs.name }}


#- name: Install ARM Toolchain
#uses: fiam/arm-none-eabi-gcc@v1
#with:
Expand Down

0 comments on commit c970763

Please sign in to comment.