forked from nonsensical-dev/zenyx-engine
fix(ci): patchelf linux binaries
This commit is contained in:
parent
25068a7679
commit
a157812529
1 changed files with 6 additions and 1 deletions
|
@ -80,10 +80,15 @@ jobs:
|
|||
mkdir -p artifacts
|
||||
cp target/${{ matrix.target }}/release/zenyx${{ matrix.ext }} artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||
|
||||
- name: 🛠️ Pathelf
|
||||
if: ${{ matrix.target }} == x86_64-unknown-linux-gnu || ${{ matrix.target }} == aarch64-unknown-linux-gnu
|
||||
run: |
|
||||
nix run nixpkgs#patchelf -- --set-interpreter /lib64/ld-linux-x86-64.so.2 artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||
|
||||
- name: ⬆️ Upload artifact
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.binary_name }}${{ matrix.ext }}.zip
|
||||
name: ${{ matrix.binary_name }}.zip
|
||||
path: artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||
compression-level: 9
|
||||
if-no-files-found: error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue