@@ -92,12 +92,34 @@ jobs:
9292 REPO : ${{ github.repository }}
9393 VERSION : ${{ needs.tag.outputs.version }}
9494
95+ # Hack to upload header-only package in a format that homebrew release action can use.
96+ - name : Prepare standalone archives
97+ shell : bash
98+ run : |
99+ zip_filename=$(readlink -f ${{ steps.build.outputs.archive-lib }})
100+ cp ${zip_filename} zenoh-cpp-${{ inputs.version || '0.0.0'}}-x86_64-apple-darwin-standalone.zip
101+ cp ${zip_filename} zenoh-cpp-${{ inputs.version || '0.0.0'}}-aarch64-apple-darwin-standalone.zip
102+
95103 - name : Upload library archive
96104 uses : actions/upload-artifact@v4
97105 with :
98106 name : ${{ steps.build.outputs.archive-lib }}
99107 path : ${{ steps.build.outputs.archive-lib }}
100108
109+ # Hack to upload header-only package in a format that homebrew release action can use.
110+ - name : Upload archive for Homebrew (x86_64)
111+ uses : actions/upload-artifact@v4
112+ with :
113+ name : zenoh-cpp-${{ inputs.version || '0.0.0'}}-x86_64-apple-darwin-standalone.zip
114+ path : zenoh-cpp-${{ inputs.version || '0.0.0'}}-x86_64-apple-darwin-standalone.zip
115+
116+ # Hack to upload header-only package in a format that homebrew release action can use.
117+ - name : Upload archive for Homebrew (aarch64)
118+ uses : actions/upload-artifact@v4
119+ with :
120+ name : zenoh-cpp-${{ inputs.version || '0.0.0'}}-aarch64-apple-darwin-standalone.zip
121+ path : zenoh-cpp-${{ inputs.version || '0.0.0'}}-aarch64-apple-darwin-standalone.zip
122+
101123 - name : Upload DEB archive
102124 uses : actions/upload-artifact@v4
103125 with :
0 commit comments