Skip to content

Commit

Permalink
bash is used for every OS, so "cp" can be used, too
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed Jul 14, 2024
1 parent 2b0dfc5 commit fa0dd04
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@ jobs:
files: ./dist/joplin-sticky-notes*
- name: Normalize executable name
# this is needed, because wildcards aren't expanded in the following action
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
copy ./dist/joplin-sticky-notes* ./dist/joplin-sticky-notes
else
cp ./dist/joplin-sticky-notes* ./dist/joplin-sticky-notes
fi
run: cp ./dist/joplin-sticky-notes* ./dist/joplin-sticky-notes
shell: bash
- name: Run the executable (smoke test)
uses: coactions/setup-xvfb@v1
Expand Down

0 comments on commit fa0dd04

Please sign in to comment.