Skip to content

Commit

Permalink
use different script
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesh1 committed Sep 19, 2024
1 parent d53e4a4 commit e5253e0
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/dd-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,18 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Set env
run: echo SANITIZED_TARGET_PLATFORM=${ETCD_BUILD_PLATFORM/\//-} >> $GITHUB_ENV
- name: Set relase version environment variable
run: echo RELEASE_VERSION=${GITHUB_REF#*} >> $GITHUB_ENV
env:
ETCD_BUILD_PLATFORM: ${{ matrix.platform }}
GITHUB_REF: ${{ github.ref }}
- name: Build etcd
run: make build
run: GOOS=linux ./scripts/build-binary ${VERSION}
env:
VERSION: ${{ env.RELASE_VERSION }}
- name: Calculate checksums
id: calculate_checksums
shell: bash
working-directory: _output/release-tars
working-directory: /release
env:
ETCD_BUILD_PLATFORM: ${{ matrix.platform }}
run: |
Expand Down

0 comments on commit e5253e0

Please sign in to comment.