Skip to content

Commit

Permalink
build: fix output binary name
Browse files Browse the repository at this point in the history
The current name can be confused with project-stacker/stacker-bom
project.

Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha committed May 23, 2024
1 parent c4b48a4 commit f15cbf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.20"]
go-version: ["1.22"]
os: ["linux"]
arch: ["amd64"]
steps:
Expand All @@ -38,14 +38,14 @@ jobs:
- uses: actions/cache/save@v3
if: always()
with:
file: bin/stacker-bom-*
file: bin/bom-*
key: ${{ github.sha }}
release:
if: github.event_name == 'release' && github.event.action== 'published'
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.20"]
go-version: ["1.22"]
os: ["linux"]
arch: ["amd64"]
steps:
Expand All @@ -66,7 +66,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/stacker-bom-*
file: bin/bom-*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OS ?= linux
ARCH ?= amd64

BINDIR := bin
BINARY := stacker-bom-${OS}-${ARCH}
BINARY := bom-${OS}-${ARCH}

.PHONY: binary
binary:
Expand Down

0 comments on commit f15cbf4

Please sign in to comment.