Skip to content

Commit 060b2fb

Browse files
committed
fix: correct paths for linux/osx, add la to ls
1 parent 0f69354 commit 060b2fb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787

8888
- name: Debug files on disk
8989
if: inputs.workflowDebug == true
90-
run: ls -R .
90+
run: ls -laR .
9191

9292
- name: Upload keys
9393
uses: actions/upload-artifact@v3
@@ -144,18 +144,18 @@ jobs:
144144
path: ./Intersect.Network/bin/Release/keys/
145145

146146
- name: Debug keys
147-
run: ls -R ./Intersect.Network/bin/Release/keys
147+
run: ls -laR ./Intersect.Network/bin/Release/keys
148148

149149
- name: Build solution
150150
if: steps.cache-binaries.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
151151
run: dotnet publish Intersect.sln --sc -r linux-x64 -p:Configuration=Release -p:PackageVersion=${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}+build.${{ github.sha }} -p:Version=${{ env.VERSION_PREFIX }}.${{ github.run_number }}
152152

153153
- name: Tarball artifacts to maintain unix file permissions
154-
run: tar -cvf linux.tar Intersect.Client/bin/Release/*/*/publish Intersect.Server/bin/Release/*/*
154+
run: tar -cvf linux.tar Intersect.Client/bin/Release/*/*/publish Intersect.Server/bin/Release/*/*/publish
155155

156156
- name: Debug files on disk
157157
if: inputs.workflowDebug == true
158-
run: ls -R .
158+
run: ls -laR .
159159

160160
- name: Upload artifacts
161161
uses: actions/upload-artifact@v3
@@ -212,18 +212,18 @@ jobs:
212212
path: ./Intersect.Network/bin/Release/keys/
213213

214214
- name: Debug keys
215-
run: ls -R ./Intersect.Network/bin/Release/keys
215+
run: ls -laR ./Intersect.Network/bin/Release/keys
216216

217217
- name: Build solution
218218
if: steps.cache-binaries.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
219219
run: dotnet publish Intersect.sln --sc -r osx-x64 -p:Configuration=Release -p:PackageVersion=${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}+build.${{ github.sha }} -p:Version=${{ env.VERSION_PREFIX }}.${{ github.run_number }}
220220

221221
- name: Tarball artifacts to maintain unix file permissions
222-
run: tar -cvf osx.tar Intersect.Client/bin/Release/*/*/publish Intersect.Server/bin/Release/*/*
222+
run: tar -cvf osx.tar Intersect.Client/bin/Release/*/*/publish Intersect.Server/bin/Release/*/*/publish
223223

224224
- name: Debug files on disk
225225
if: inputs.workflowDebug == true
226-
run: ls -R .
226+
run: ls -laR .
227227

228228
- name: Upload artifacts
229229
uses: actions/upload-artifact@v3
@@ -280,7 +280,7 @@ jobs:
280280
path: ./Intersect.Network/bin/Release/keys/
281281

282282
- name: Debug keys
283-
run: ls -R ./Intersect.Network/bin/Release/keys
283+
run: ls -laR ./Intersect.Network/bin/Release/keys
284284

285285
- name: Build solution
286286
if: steps.cache-binaries.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
@@ -292,7 +292,7 @@ jobs:
292292

293293
- name: Debug files on disk
294294
if: inputs.workflowDebug == true
295-
run: ls -R .
295+
run: ls -laR .
296296

297297
- name: Upload artifacts
298298
uses: actions/upload-artifact@v3
@@ -320,7 +320,7 @@ jobs:
320320
tar -xvf win.tar
321321
322322
- name: Debug output
323-
run: ls -R .
323+
run: ls -laR .
324324

325325
publish-github:
326326
name: Publish GitHub Release
@@ -369,7 +369,7 @@ jobs:
369369

370370
- name: Debug packaging output
371371
if: inputs.packagingDebug == true
372-
run: ls -R ./dist
372+
run: ls -laR ./dist
373373

374374
- name: Publish GitHub Release
375375
if: inputs.packagingDebug != true

0 commit comments

Comments
 (0)