Skip to content

Commit

Permalink
set GDOOR_VERSION via PLATFORMIO_BUILD_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
jschroeter committed Jun 23, 2024
1 parent dc67080 commit 123b7b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
fi
SHORT_SHA=$(git rev-parse --short HEAD)
GDOOR_VERSION=${VERSION}+${SHORT_SHA}
echo "GDOOR_VERSION=${GDOOR_VERSION}" >> $GITHUB_ENV
echo GDOOR_VERSION=${GDOOR_VERSION} >> $GITHUB_ENV
echo PLATFORMIO_BUILD_FLAGS="-DGDOOR_VERSION=\\\"${GDOOR_VERSION}\\\"" >> $GITHUB_ENV
echo GDOOR_VERSION=${GDOOR_VERSION}
- name: Install PlatformIO Core
Expand Down

0 comments on commit 123b7b0

Please sign in to comment.