use github env
Some checks failed
/ validate (push) Successful in 4s
/ build (push) Failing after 4s

This commit is contained in:
Ludovic Cartier
2025-07-21 17:55:08 +02:00
parent d6687ab01e
commit 9f5a51280d
2 changed files with 6 additions and 1 deletions

View File

@@ -49,6 +49,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set version to env vars
run: |
echo "VERSION=${cat .version}" >> $GITHUB_ENV
echo "$VERSION"
- name: Setup go
uses: actions/setup-go@v4
with:
@@ -72,7 +77,7 @@ jobs:
- name: Prepare amd64 control file
run: |
VERSION=`cat .version`
#VERSION=`cat .version`
echo "Package: varnish-exporter" > varnish-exporter-amd64/DEBIAN/control
echo "Version: $VERSION" >> varnish-exporter-amd64/DEBIAN/control
echo "Maintainer: Ludovic Cartier <ludovic.cartier@alterway.fr>" >> varnish-exporter-amd64/DEBIAN/control