From 214c767afe4de86e4263d93a79fc7898a67001fc Mon Sep 17 00:00:00 2001 From: James Kessler Date: Mon, 30 Sep 2024 10:39:08 -0700 Subject: [PATCH] Fix output declaration in build-linux job, and output references in test-* jobs (again). --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a476ed..56029fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,8 +69,8 @@ jobs: build-linux: runs-on: ubuntu-latest outputs: - coveralls_x86_64: ${{ steps.build.outputs.coveralls_x86_64 }} - coveralls_aarch64: ${{ steps.build.outputs.coveralls_aarch64 }} + coveralls_x86_64: ${{ steps.package.outputs.coveralls_x86_64 }} + coveralls_aarch64: ${{ steps.package.outputs.coveralls_aarch64 }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: @@ -97,6 +97,7 @@ jobs: run: ls -la dist/ - name: Package linux binaries + id: package run: | make package echo "coveralls_x86_64=dist/coveralls-linux-x86_64" >> $GITHUB_OUTPUT @@ -131,6 +132,7 @@ jobs: - name: Test x86_64 binary run: | binary=${{ needs.build-linux.outputs.coveralls_x86_64 }} + echo $binary chmod +x $binary $binary --version @@ -161,6 +163,7 @@ jobs: - name: Test aarch64 binary in QEMU run: | binary=${{ needs.build-linux.outputs.coveralls_aarch64 }} + echo $binary chmod +x $binary sudo apt-get update sudo apt-get install -y qemu-user