We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c78089 commit 717b0d7Copy full SHA for 717b0d7
.github/workflows/c-cpp.yml
@@ -39,7 +39,7 @@ jobs:
39
id: get_version
40
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
41
run: |
42
- VERSION=$(grep '#define VERSION' main.c | sed -E 's/.*"([^"]+)".*/\1/')
+ VERSION=$(grep '#define VERSION' src/main.c | sed -E 's/.*"([^"]+)".*/\1/')
43
if [ -z "$VERSION" ]; then
44
echo "Failed to extract VERSION from main.c"; exit 1
45
fi
0 commit comments