Fix formatting src/precompile_includer.jl

This commit is contained in:
t-bltg 2021-10-20 13:08:56 +02:00 committed by GitHub
parent 0af22a8fe6
commit bb9cd718a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,10 @@ jobs:
uses: actions/download-artifact@v2
- name: CompileBot postprocess
run: julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess();'
run: |
ls
if ! grep -m1 -q 'format' src/precompile_includer.jl; then sed -i '1 i\#! format: off' src/precompile_includer.jl; fi
julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess();'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3