Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,34 @@ jobs:
REPO: ${{ github.repository }}
VERSION: ${{ needs.tag.outputs.version }}

# Hack to upload header-only package in a format that homebrew release action can use.
- name: Prepare standalone archives
shell: bash
run: |
zip_filename=$(readlink -f ${{ steps.build.outputs.archive-lib }})
cp ${zip_filename} zenoh-cpp-${{ inputs.version || '0.0.0'}}-x86_64-apple-darwin-standalone.zip
cp ${zip_filename} zenoh-cpp-${{ inputs.version || '0.0.0'}}-aarch64-apple-darwin-standalone.zip

- name: Upload library archive
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build.outputs.archive-lib }}
path: ${{ steps.build.outputs.archive-lib }}

# Hack to upload header-only package in a format that homebrew release action can use.
- name: Upload archive for Homebrew (x86_64)
uses: actions/upload-artifact@v4
with:
name: zenoh-cpp-${{ inputs.version || '0.0.0'}}-x86_64-apple-darwin-standalone.zip
path: zenoh-cpp-${{ inputs.version || '0.0.0'}}-x86_64-apple-darwin-standalone.zip

# Hack to upload header-only package in a format that homebrew release action can use.
- name: Upload archive for Homebrew (aarch64)
uses: actions/upload-artifact@v4
with:
name: zenoh-cpp-${{ inputs.version || '0.0.0'}}-aarch64-apple-darwin-standalone.zip
path: zenoh-cpp-${{ inputs.version || '0.0.0'}}-aarch64-apple-darwin-standalone.zip

- name: Upload DEB archive
uses: actions/upload-artifact@v4
with:
Expand Down
Loading