Skip to content

Commit 717d9e4

Browse files
ntkatholeredhatHameed
authored andcommitted
chore: Add compiled go test binary in github release assets
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent d4d7b0d commit 717d9e4

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,19 @@ jobs:
171171
uses: actions/setup-go@v2
172172
with:
173173
go-version: 1.22.9
174+
- name: Compile Go Test Binaries
175+
run: |
176+
cd infra/feast-operator
177+
mkdir -p dist
178+
go test -c -o dist/operator-e2e-tests ./test/e2e/
174179
- name: Release (Dry Run)
175180
if: github.event.inputs.dry_run == 'true'
176181
run: |
177182
npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release --dry-run
178183
- name: Release
179184
if: github.event.inputs.dry_run == 'false'
180185
run: |
181-
npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release
186+
npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release --github-assets "infra/feast-operator/dist/operator-e2e-tests"
182187
183188
184189
update_stable_branch:

0 commit comments

Comments
 (0)