Skip to content

Commit 4ed13fb

Browse files
committed
fix build output name
1 parent 4ac4d60 commit 4ed13fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/bazel_cli_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
if: startsWith(github.ref, 'refs/tags/')
4444
run: |
4545
TAG_NAME=${GITHUB_REF#refs/tags/}
46-
cp bazel-bin/sparrow-cli-linux.tar.gz sparrow-cli-${TAG_NAME}-linux.tar.gz
46+
cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${TAG_NAME}-linux.tar.gz
4747
- name: Rename artifact with commit hash for push
4848
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
4949
run: |
5050
SHORT_COMMIT=$(echo ${{ github.sha }} | cut -c1-7)
51-
cp bazel-bin/sparrow-cli-linux.tar.gz sparrow-cli-${SHORT_COMMIT}-linux.tar.gz
51+
cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${SHORT_COMMIT}-linux.tar.gz
5252
- name: Upload sparrow-cli.tar.gz artifact
5353
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
5454
uses: actions/upload-artifact@v4
@@ -82,12 +82,12 @@ jobs:
8282
if: startsWith(github.ref, 'refs/tags/')
8383
run: |
8484
TAG_NAME=${GITHUB_REF#refs/tags/}
85-
cp bazel-bin/sparrow-cli-mac.tar.gz sparrow-cli-${TAG_NAME}-mac.tar.gz
85+
cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${TAG_NAME}-mac.tar.gz
8686
- name: Rename artifact with commit hash for push
8787
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
8888
run: |
8989
SHORT_COMMIT=$(echo ${{ github.sha }} | cut -c1-7)
90-
cp bazel-bin/sparrow-cli-mac.tar.gz sparrow-cli-${SHORT_COMMIT}-mac.tar.gz
90+
cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${SHORT_COMMIT}-mac.tar.gz
9191
- name: Upload sparrow-cli.tar.gz artifact
9292
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
9393
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)