Skip to content

Commit 6a32660

Browse files
Tweaked CI
1 parent ddba97a commit 6a32660

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/static.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: 7.4
20-
extensions: curl
2120
tools: composer:v2
2221
coverage: none
2322

@@ -50,7 +49,6 @@ jobs:
5049
uses: shivammathur/setup-php@v2
5150
with:
5251
php-version: 7.4
53-
extensions: curl
5452
tools: composer:v2
5553
coverage: none
5654

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
uses: shivammathur/setup-php@v2
2222
with:
2323
php-version: ${{ matrix.php }}
24-
extensions: curl
2524
tools: composer:v2
2625
coverage: none
2726

src/Api/Repositories/Workspaces/Pipelines/Steps.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,22 @@ public function log(string $step, array $params = [])
6666
return $this->getAsResponse($uri, $params, ['Accept' => 'application/octet-stream'])->getBody();
6767
}
6868

69+
/**
70+
* @param string $step
71+
* @param string $uuid
72+
* @param array $params
73+
*
74+
* @throws \Http\Client\Exception
75+
*
76+
* @return \Psr\Http\Message\StreamInterface
77+
*/
78+
public function specificLog(string $step, string $uuid, array $params = [])
79+
{
80+
$uri = $this->buildStepsUri($step, 'logs', $uuid);
81+
82+
return $this->getAsResponse($uri, $params, ['Accept' => 'application/octet-stream'])->getBody();
83+
}
84+
6985
/**
7086
* @param string $step
7187
* @param array $params

0 commit comments

Comments
 (0)