fix appending breaking without newline

This commit is contained in:
2024-10-01 18:14:04 -05:00
parent 2c9b079547
commit 9c3c48ba7a

View File

@@ -57,6 +57,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install ${{ matrix.linker }}
# ensure has a newline at the end
[ "$(tail -c 1 .cargo/config.toml)" != "" ] && echo >> .cargo/config.toml
cat .cargo/config.github.toml >> .cargo/config.toml
- name: Build