Skip to content

Commit 569b12d

Browse files
committed
fix: env syntax error
1 parent 4e1252e commit 569b12d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
go-version-file: ./go.mod
4444
- name: build
4545
run: |
46-
echo "BINARY_NAME=$(cut -d "-" -f 1 <<< "${{ matrix.os }")" >> $GITHUB_ENV
46+
echo "BINARY_NAME=$(cut -d "-" -f 1 <<< "${{ matrix.os }}")" >> $GITHUB_ENV
4747
go build -o ntp-cli-${BINARY_NAME}-v${{ env.VERSION }}
4848
- name: upload the artifact
4949
uses: actions/upload-artifact@v4

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
go-version-file: ./go.mod
4545
- name: build
4646
run: |
47-
echo "BINARY_NAME=$(cut -d "-" -f 1 <<< "${{ matrix.os }")" >> $GITHUB_ENV
47+
echo "BINARY_NAME=$(cut -d "-" -f 1 <<< "${{ matrix.os }}")" >> $GITHUB_ENV
4848
go build -o ntp-cli-${BINARY_NAME}-v${{ env.VERSION }}
4949
- name: upload the artifact
5050
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)