File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,16 @@ jobs:
1616 name : Build
1717 runs-on : macOS-latest
1818 env :
19- LOGFILE : /tmp/.keyvalueobservation.carthage.xcodebuild.log
19+ LOGSDIR : /tmp/.keyvalueobservation.carthage/Logs
2020
2121 steps :
2222 - name : Checkout Code
2323 uses : actions/checkout@v2
2424
2525 - name : Setup Environment
2626 run : |
27- touch "$LOGFILE"
27+ mkdir -p "$LOGSDIR"
28+ touch "$LOGSDIR/Build.log"
2829
2930 - name : Install Carthage
3031 run : |
@@ -41,11 +42,11 @@ jobs:
4142
4243 - name : Build
4344 run : |
44- ./scripts/carthage.sh update --log-path "$LOGFILE "
45+ ./scripts/carthage.sh update --log-path "$LOGSDIR/Build.log "
4546
4647 - name : Upload Logs
4748 uses : actions/upload-artifact@v2
4849 if : always()
4950 with :
5051 name : BuildLog
51- path : ${{ env.LOGFILE }}
52+ path : ${{ env.LOGSDIR }}/*.log
You can’t perform that action at this time.
0 commit comments