Think I fixed the versioning.
All checks were successful
G'Agent Scan, Build, and Test / scan (push) Successful in 1m31s
G'Agent Scan, Build, and Test / build_simple (push) Successful in 1m18s
G'Agent Scan, Build, and Test / test_simple (push) Successful in 18s
G'Agent Scan, Build, and Test / build_image (push) Successful in 1m52s

This commit is contained in:
James Wells 2024-12-26 18:01:37 -08:00
parent 01e3c42ac4
commit 07215828b8
Signed by: jwells
GPG key ID: 73196D10B8E65666
3 changed files with 9 additions and 11 deletions

View file

@ -8,7 +8,7 @@ on:
- v*
env:
SEMVAR: 0.0.11
SEMVAR: 0.0.13
jobs:
scan:
runs-on: docker
@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4
- run: go build -o test_artifact cmd/gagent/main.go
- run: go build -o test_artifact -ldflags="-X main.Version=${{ env.SEMVAR }}" cmd/gagent/main.go
- run: ./test_artifact --version
- uses: actions/upload-artifact@v3