mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Bugfix: YAML Migration Tool Build Job Binary and Hash File Name (#32735)
# Overview [For non-Windows binaries you end up with a literal `false` in the artifact name](https://github.com/fleetdm/fleet/actions/runs/17557881094/job/49866625368#step:9:20). --------- Signed-off-by: Illbjorn <am@hades.so>
This commit is contained in:
parent
7d51f646dc
commit
0c62ef105f
1 changed files with 7 additions and 4 deletions
11
.github/workflows/build-gitops-migrate.yml
vendored
11
.github/workflows/build-gitops-migrate.yml
vendored
|
|
@ -2,8 +2,11 @@ name: Build GitOps Migrate
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [main] # TODO: Disabled for testing.
|
||||
paths: ['cmd/gitops-migrate/**/*.go']
|
||||
branches: [main]
|
||||
paths: [
|
||||
'cmd/gitops-migrate/**/*.go',
|
||||
'.github/workflows/build-gitops-migrate.yml'
|
||||
]
|
||||
|
||||
concurrency:
|
||||
# Only allow a single occurrence of this job to run at any given time.
|
||||
|
|
@ -17,9 +20,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
# Ex: gitops-migrate-windows-amd64.exe
|
||||
BIN_NAME: gitops-migrate-${{ matrix.GOOS }}-${{ matrix.GOARCH }}${{ matrix.GOOS == 'windows' && '.exe' }}
|
||||
BIN_NAME: gitops-migrate-${{ matrix.GOOS }}-${{ matrix.GOARCH }}${{ matrix.GOOS == 'windows' && '.exe' || '' }}
|
||||
# Ex: gitops-migrate-windows-amd64.exe.sha256
|
||||
BIN_HASH_NAME: gitops-migrate-${{ matrix.GOOS }}-${{ matrix.GOARCH }}${{ matrix.GOOS == 'windows' && '.exe' }}.sha256
|
||||
BIN_HASH_NAME: gitops-migrate-${{ matrix.GOOS }}-${{ matrix.GOARCH }}${{ matrix.GOOS == 'windows' && '.exe' || '' }}.sha256
|
||||
# This serves as the root path we `aws s3 cp` all built binaries to.
|
||||
S3_URI: s3://download/tools
|
||||
strategy:
|
||||
|
|
|
|||
Loading…
Reference in a new issue