Skip to content

Commit 0d9fa51

Browse files
committed
ci: Rollback artifact as .tar.gz
1 parent 88cdf73 commit 0d9fa51

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,16 @@ jobs:
6767
PLATFORM=${{ env.PLATFORM }}
6868
tags: ${{ steps.meta.outputs.tags || steps.meta-pr.outputs.tags }}
6969
labels: ${{ steps.meta.outputs.labels || steps.meta-pr.outputs.labels }}
70-
- name: Extract binary from Docker and tar.gz
70+
- name: Extract binary from Docker
7171
if: ${{ github.event_name != 'pull_request' }}
7272
run: |
7373
docker create --name extract ghcr.io/huggingface/inference-benchmarker:sha-${{ env.GITHUB_SHA_SHORT }}
7474
docker cp extract:/usr/local/bin/inference-benchmarker ${{ github.workspace }}/inference-benchmarker
7575
docker rm -f extract
76-
tar -czf ${{ github.workspace }}/inference-benchmarker_x86_64.tar.gz -C ${{ github.workspace }} inference-benchmarker
7776
- name: Upload binary
7877
if: ${{ github.event_name != 'pull_request' }}
7978
uses: actions/upload-artifact@v4
8079
with:
81-
name: inference-benchmarker_x86_64.tar.gz
80+
name: inference-benchmarker_x86_64
8281
path: ${{ github.workspace }}/inference-benchmarker
8382

0 commit comments

Comments
 (0)