Skip to content

Commit 563e117

Browse files
Update carthage.yml
1 parent db49347 commit 563e117

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/carthage.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)