Skip to content

Commit

Permalink
github actions: Don't assume that the binary is named after the program.
Browse files Browse the repository at this point in the history
  • Loading branch information
Screwtapello committed Feb 7, 2021
1 parent a8d1993 commit ea2611e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea2611e

Please sign in to comment.