Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2

- name: Setup PHP with composer
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: zip
tools: composer:2.5.5
tools: composer

- name: Install dependencies
run: cd src && composer install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
php-version: '7.4'
extensions: zip
tools: composer:2.5.5
tools: composer

# Create a packaged up zip file
- name: Set Version Number & Build Zip
Expand All @@ -45,14 +45,14 @@ jobs:

# Configure AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-session-name: GitHub_to_AWS_via_FederatedOIDC
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT }}:role/GitHubActionIAMRole
aws-region: ${{ env.AWS_REGION }}

- name: Upload Dev Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: organic-${{ env.BUILD_NUMBER }}.zip
path: build/organic-${{ env.BUILD_NUMBER }}.zip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-wp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
php-version: '7.4'
extensions: zip
tools: composer:2.5.5
tools: composer

- name: Build plugin
run: ./build-zip.sh ${{ steps.latest_release.outputs.tag_name }}
Expand Down Expand Up @@ -71,4 +71,4 @@ jobs:
message_id: ${{ steps.slack.outputs.message_id }}
channel: dev-notifications
status: FAILED
color: danger
color: danger
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
with:
php-version: '7.4'
extensions: zip
tools: composer:2.5.5
tools: composer

- name: Build plugin
run: ./build-zip.sh ${{ env.BUILD_NUMBER }}

# Configure AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-session-name: GitHub_to_AWS_via_FederatedOIDC
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT }}:role/GitHubActionIAMRole
Expand Down
Loading