Skip to content

Commit 76dfa98

Browse files
committed
ci: Fixing some blantant mistakes
Forgot to set the env var for the `build` step on the workflow. The env var `tag` for the `Makefile` is now filled from the past `git tag`.
1 parent dd1ad34 commit 76dfa98

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/lazarus.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
on:
1212

1313
push:
14-
branches: [ lazarus, add-changes-from-gus ]
14+
branches: [ lazarus ]
1515
tags: [ "*" ]
1616
paths-ignore: [ "README.md", "LICENSE", "CHANGELOG.md", ".github/cliff.toml" ]
1717

@@ -22,6 +22,8 @@ jobs:
2222

2323
build:
2424
runs-on: ${{ matrix.operating-system }}
25+
env:
26+
GITHUB: 1
2527
strategy:
2628
fail-fast: false
2729
matrix:

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ifeq ($(origin GITHUB), undefined)
1717
$(error "secrets.mk not found! Please create it first.")
1818
endif
1919
include ./secrets.mk
20+
tag := $(shell git describe --tags $(shell git rev-list --tags --max-count=1) 2>/dev/null || echo "v0.0.0")
2021
else
2122
# GITHUB is set — skip including secrets.mk
2223
$(info GITHUB is set, not loading secrets.mk)

0 commit comments

Comments
 (0)