From ea2611e2eac2d9f223b5d66e04fa6be855540083 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Sun, 7 Feb 2021 22:28:49 +1100 Subject: [PATCH] github actions: Don't assume that the binary is named after the program. --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb79c90af..fe05d1f44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: ${{ matrix.program }}-${{ matrix.os.name }} - path: ${{ matrix.program }}/out/${{ matrix.program }}* + path: ${{ matrix.program }}/out/* release: if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') @@ -63,8 +63,8 @@ jobs: # Hack: Workaround for GitHub artifacts losing attributes. for program in higan-ui icarus do - chmod +x ${bindir}/${program}-ubuntu/${program} - chmod +x ${bindir}/${program}-macos/${program}.app/Contents/MacOS/${program} + chmod +x ${bindir}/${program}-ubuntu/* + chmod +x ${bindir}/${program}-macos/*/Contents/MacOS/* done for os in ubuntu windows macos