Skip to content

Commit

Permalink
fix: add php session extension (#201)
Browse files Browse the repository at this point in the history
* add php session extension

* update action

* more workflow actions.

* add fileinfo
  • Loading branch information
idbentley authored Jan 23, 2025
1 parent ab1398a commit 606d395
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:
- id: run-workflow
name: Run Generation Workflow
if: ${{ steps.check-label.outputs.short_circuit_label_trigger != 'true' }}
uses: speakeasy-api/sdk-generation-action@v15
uses: speakeasy-api/sdk-generation-action@v15.37.0
with:
speakeasy_version: ${{ inputs.speakeasy_version }}
github_access_token: ${{ secrets.github_access_token }}
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- id: log-result
name: Log Generation Output
uses: speakeasy-api/sdk-generation-action@v15
uses: speakeasy-api/sdk-generation-action@v15.37.0
if: ${{ steps.check-label.outputs.short_circuit_label_trigger != 'true'}}
with:
speakeasy_version: ${{ inputs.speakeasy_version }}
Expand Down
29 changes: 20 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,26 @@ RUN dotnet --list-sdks

### Install PHP and Composer
#### Source: https://github.com/geshan/docker-php-composer-alpine/blob/master/Dockerfile
RUN apk --update --no-cache add wget \
curl \
git \
php82 \
php-ctype php-dom php-json php-mbstring php-phar php-tokenizer php-xml php-xmlwriter \
php-curl \
php-openssl \
php-iconv \
--repository http://nl.alpinelinux.org/alpine/edge/testing/
RUN apk --update --no-cache add \
wget \
curl \
git \
php83 \
php83-ctype \
php83-dom \
php83-json \
php83-mbstring \
php83-phar \
php83-tokenizer \
php83-xml \
php83-xmlwriter \
php83-curl \
php83-openssl \
php83-iconv \
php83-session \
php83-fileinfo \
--repository http://nl.alpinelinux.org/alpine/edge/testing/


RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
RUN mkdir -p /var/www
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ outputs:
description: "The directory the SDK target was generated to"
runs:
using: "docker"
image: "docker://ghcr.io/speakeasy-api/sdk-generation-action:v15"
image: "docker://ghcr.io/speakeasy-api/sdk-generation-action:v15.37.0"
env:
SPEAKEASY_API_KEY: ${{ inputs.speakeasy_api_key }}
SPEAKEASY_SERVER_URL: ${{ inputs.speakeasy_server_url }}
Expand Down

0 comments on commit 606d395

Please sign in to comment.