perf: Remove unneeded explicit uppercasing of PHP methods (#5806) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- trunk | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: read | |
jobs: | |
release-schedule: | |
runs-on: ubuntu-24.04 | |
if: github.repository == 'shopware/shopware' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: | | |
releases.json | |
- name: Configure aws credentials | |
if: steps.changed-files.outputs.any_changed == 'true' | |
uses: aws-actions/configure-aws-credentials@v3 | |
with: | |
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/UploadReleaseCalendar | |
role-session-name: github-actions | |
aws-region: eu-central-1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
- name: Publish release schedule | |
if: steps.changed-files.outputs.any_changed == 'true' | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
gh release download --repo shopware/release-schedule --pattern 'release-schedule.phar' | |
php release-schedule.phar publish |