File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 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
71+ if : ${{ github.event_name != 'pull_request' }}
72+ run : |
73+ docker create --name extract ghcr.io/huggingface/inference-benchmarker:sha-${{ env.GITHUB_SHA_SHORT }}
74+ docker cp extract:/usr/local/bin/inference-benchmarker ${{ github.workspace }}/inference-benchmarker
75+ docker rm -f extract
76+ - name : Upload binary
77+ if : ${{ github.event_name != 'pull_request' }}
78+ uses : actions/upload-artifact@v2
79+ with :
80+ name : inference-benchmarker
81+ path : ${{ github.workspace }}/inference-benchmarker
82+
You can’t perform that action at this time.
0 commit comments