mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Specify that all .sh files need Unix line endings
The `git config --global --unset core.autocrlf` command was failing in the "Create release artifacts" workflow, so this is an alternate method of fixing issue #841.
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Shell scripts need Unix line endings (see https://github.com/gbdev/rgbds/issues/841)
|
||||||
|
*.sh text eol=lf
|
||||||
@@ -8,9 +8,6 @@ jobs:
|
|||||||
windows:
|
windows:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Disable auto-CRLF # This breaks scripts (see https://github.com/gbdev/rgbds/issues/841)
|
|
||||||
run: |
|
|
||||||
git config --global --unset core.autocrlf
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Get version from tag
|
- name: Get version from tag
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user