Unverified Commit 03274a6b authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

ci: recombine linux amd64 binaries (#11188)

Glue the rocm and archive builds back together.
parent cc6463eb
...@@ -468,8 +468,18 @@ jobs: ...@@ -468,8 +468,18 @@ jobs:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
pattern: dist-linux-* pattern: dist-linux-*
path: dist path: stage
merge-multiple: true merge-multiple: false
- name: Merge linux amd64 payload
working-directory: stage/dist-linux-amd64-archive
run: |
tar zxf ollama-linux-amd64.tgz
tar zxf ../dist-linux-amd64-rocm/ollama-linux-amd64.tgz
rm -f ollama-linux-amd64.tgz ../dist-linux-amd64-rocm/ollama-linux-amd64.tgz
tar -c -f- --owner 0 --group 0 . | pigz -9vc > ../ollama-linux-amd64.tgz
- name: Cleanup linux payloads
run: |
find stage -name ollama-linux\*.tgz -exec mv {} dist/ \;
- run: find . -type f -not -name 'sha256sum.txt' | xargs sha256sum | tee sha256sum.txt - run: find . -type f -not -name 'sha256sum.txt' | xargs sha256sum | tee sha256sum.txt
working-directory: dist working-directory: dist
- name: Create or update Release - name: Create or update Release
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment