Skip to content

Commit 271ed74

Browse files
committed
Revert "fix: use working dir for every run"
This reverts commit 053fe7a.
1 parent 053fe7a commit 271ed74

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/codebuild-ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ jobs:
9191
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
9292
- name: Run Service Check Batch and Calculate Artifact Size Metrics
9393
id: svc-check-batch
94-
working-directory: ./aws-sdk-kotlin
9594
run: |
9695
REPOSITORY=$(echo ${{ github.repository }} | cut -d '/' -f 2)
9796
PULL_REQUEST=""
@@ -120,14 +119,12 @@ jobs:
120119
if: ${{ cancelled() }}
121120
env:
122121
BUILD_ID: ${{ steps.svc-check-batch.outputs.aws-build-id }}
123-
working-directory: ./aws-sdk-kotlin
124122
run: |
125123
if [ ! -z "$BUILD_ID" ]; then
126124
echo "cancelling in-progress batch build: id=$BUILD_ID"
127125
aws codebuild stop-build --id $BUILD_ID
128126
fi
129127
- name: Collect Artifact Size Metrics
130-
working-directory: ./aws-sdk-kotlin
131128
run: |
132129
PULL_REQUEST=""
133130
INTERNAL=${{ github.event.number }}
@@ -146,7 +143,6 @@ jobs:
146143
147144
./gradlew collectDelegatedArtifactSizeMetrics -PpullRequest=$PULL_REQUEST
148145
- name: Analyze Artifact Size Metrics
149-
working-directory: ./aws-sdk-kotlin
150146
run: ./gradlew analyzeArtifactSizeMetrics
151147
- name: Show Results
152148
uses: actions/github-script@v7
@@ -201,7 +197,6 @@ jobs:
201197
202198
- name: Evaluate Result
203199
if: ${{ !contains(github.event.pull_request.labels.*.name, 'acknowledge-artifact-size-increase') }}
204-
working-directory: ./aws-sdk-kotlin
205200
run: |
206201
cd build/reports/metrics
207202
cat has-significant-change.txt | grep false || {
@@ -227,7 +222,6 @@ jobs:
227222
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
228223
- name: Calculate Artifact Size Metrics
229224
id: svc-check-batch
230-
working-directory: ./aws-sdk-kotlin
231225
run: |
232226
REPOSITORY=$(echo ${{ github.repository }} | cut -d '/' -f 2)
233227
@@ -240,18 +234,14 @@ jobs:
240234
if: ${{ cancelled() }}
241235
env:
242236
BUILD_ID: ${{ steps.svc-check-batch.outputs.aws-build-id }}
243-
working-directory: ./aws-sdk-kotlin
244237
run: |
245238
if [ ! -z "$BUILD_ID" ]; then
246239
echo "cancelling in-progress batch build: id=$BUILD_ID"
247240
aws codebuild stop-build --id $BUILD_ID
248241
fi
249242
- name: Collect Artifact Size Metrics
250-
working-directory: ./aws-sdk-kotlin
251243
run: ./gradlew collectDelegatedArtifactSizeMetrics -Prelease=${{ github.event.release.tag_name }}
252244
- name: Save Artifact Size Metrics
253-
working-directory: ./aws-sdk-kotlin
254245
run: ./gradlew saveArtifactSizeMetrics -Prelease=${{ github.event.release.tag_name }}
255246
- name: Put Artifact Size Metrics in CloudWatch
256-
working-directory: ./aws-sdk-kotlin
257247
run: ./gradlew putArtifactSizeMetricsInCloudWatch -Prelease=${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)