message: Fix make distribution on linux-aarch64
diff: @@ -129,7 +129,7 @@ jobs:
  build-what: [
  {
  key: capi,
  - build-cmd: 'make build-capi && make package-capi && make distribution',
  + build-cmd: 'make build-capi && make package-capi',
  name: 'Build C-API'
  },
  {
  @@ -159,12 +159,25 @@ jobs:
  PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
  PKG_CONFIG_ALLOW_CROSS: true
  ENABLE_LLVM: 0
  - - name: Archive production artifacts
  + - name: Dist
  if: ${{ matrix.build-what.key == 'capi' }}
  - uses: actions/upload-artifact@v3
  + run: |
  + make distribution
  + env:
  + CARGO_BINARY: docker run -v /var/run/docker.sock:/var/run/docker.sock -v ${GITHUB_WORKSPACE}:/project -w /project wasmer/aarch64 cross
  + CROSS_DOCKER_IN_DOCKER: true
  + CARGO_TARGET: aarch64-unknown-linux-gnu
  + PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
  + PKG_CONFIG_ALLOW_CROSS: true
  + TARGET: aarch64-unknown-linux-gnu
  + TARGET_DIR: target/aarch64-unknown-linux-gnu/release
  + - name: Upload Artifacts
  + if: ${{ matrix.build-what.key == 'capi' }}
  + uses: actions/upload-artifact@v2
  with:
  name: capi-linux-aarch64
  - path: dist/wasmer.tar.gz
  + path: dist
  + if-no-files-found: error
  retention-days: 2
  build:
  @@ -621,7 +634,7 @@ jobs:
  cp package/cache/wasmercache4/build-capi.tar.gz package/cache/wasmer-darwin-amd64.tar.gz
  cp package/cache/wasmercache5/build-capi.tar.gz package/cache/wasmer-linux-amd64.tar.gz
  - uses: actions/download-artifact@v3
  - if: ${{ matrix.build == 'windows-gnu' }}
  + if: ${{ matrix.build == 'windows-x64' }}
  with:
  name: capi-windows-gnu
  path: download_link
  