@@ -43,48 +43,50 @@ jobs:
4343 if : " !contains(github.event.head_commit.message, '[skip ci]')"
4444
4545 steps :
46- - uses : actions/checkout@v2
46+ - name : Git Config
47+ shell : bash
48+ run : |
49+ git config --global core.autocrlf false
50+ git config --global core.longpaths true
51+
52+ - name : Git Checkout
53+ uses : actions/checkout@v2
54+ with :
55+ fetch-depth : 0
56+ submodules : recursive
4757
4858 # See https://github.com/actions/checkout/issues/165#issuecomment-657673315
49- - name : Create LFS file list
59+ - name : Git Create LFS FileList
5060 run : git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
5161
52- - name : Restore LFS cache
62+ - name : Git Setup LFS Cache
5363 uses : actions/cache@v2
5464 id : lfs-cache
5565 with :
5666 path : .git/lfs
5767 key : ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
5868
59- - name : Git LFS Pull
69+ - name : Git Pull LFS
6070 run : git lfs pull
6171
62- - name : Install NuGet
72+ - name : NuGet Install
6373 uses : NuGet/setup-nuget@v1
6474
65- - name : Setup Git
66- shell : bash
67- run : |
68- git config --global core.autocrlf false
69- git config --global core.longpaths true
70- git fetch --prune --unshallow
71- git submodule -q update --init --recursive
72-
73- - name : Setup NuGet Cache
75+ - name : NuGet Setup Cache
7476 uses : actions/cache@v2
7577 id : nuget-cache
7678 with :
7779 path : ~/.nuget
7880 key : ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }}
7981 restore-keys : ${{ runner.os }}-nuget-
8082
81- - name : Build
83+ - name : DotNet Build
8284 shell : pwsh
8385 run : ./ci-build.ps1 "${{matrix.options.framework}}"
8486 env :
8587 SIXLABORS_TESTING : True
8688
87- - name : Test
89+ - name : DotNet Test
8890 shell : pwsh
8991 run : ./ci-test.ps1 "${{matrix.options.os}}" "${{matrix.options.framework}}" "${{matrix.options.runtime}}" "${{matrix.options.codecov}}"
9092 env :
98100 name : actual_output_${{ runner.os }}_${{ matrix.options.framework }}${{ matrix.options.runtime }}.zip
99101 path : tests/Images/ActualOutput/
100102
101- - name : Update Codecov
103+ - name : Codecov Update
102104 uses : codecov/codecov-action@v1
103105 if : matrix.options.codecov == true && startsWith(github.repository, 'SixLabors')
104106 with :
@@ -112,24 +114,26 @@ jobs:
112114 if : (github.event_name == 'push')
113115
114116 steps :
115- - uses : actions/checkout@v2
116-
117- - name : Install NuGet
118- uses : NuGet/setup-nuget@v1
119-
120- - name : Setup Git
117+ - name : Git Config
121118 shell : bash
122119 run : |
123120 git config --global core.autocrlf false
124121 git config --global core.longpaths true
125- git fetch --prune --unshallow
126- git submodule -q update --init --recursive
127122
128- - name : Pack
123+ - name : Git Checkout
124+ uses : actions/checkout@v2
125+ with :
126+ fetch-depth : 0
127+ submodules : recursive
128+
129+ - name : NuGet Install
130+ uses : NuGet/setup-nuget@v1
131+
132+ - name : DotNet Pack
129133 shell : pwsh
130134 run : ./ci-pack.ps1
131135
132- - name : Publish to MyGet
136+ - name : MyGet Publish
133137 shell : pwsh
134138 run : |
135139 nuget.exe push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v2/package
0 commit comments