Skip to content

Commit

Permalink
Sort out all these workflow inputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jun 14, 2024
1 parent 9ac0865 commit c57d7e6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ jobs:
fail-fast: false
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@trunk
with:
wp: ${{ matrix.wp }}
node: true
php: ${{ matrix.php }}
wp: ${{ matrix.wp }}
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ jobs:
name: Build
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-build.yml@trunk
with:
node: true
tag: ${{ github.event_name != 'workflow_dispatch' }}
vendor: true
2 changes: 2 additions & 0 deletions .github/workflows/deploy-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
name: WordPress.org
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-assets.yml@trunk
with:
node: true
plugin: query-monitor
readme: readme.txt
vendor: true
secrets:
WPORG_SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }}
WPORG_SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }}
2 changes: 1 addition & 1 deletion .github/workflows/deploy-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
name: Deploy Tag
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-tag.yml@trunk
with:
deploy: ${{ github.event_name != 'workflow_dispatch' }}
plugin: query-monitor
readme: readme.txt
version: ${{ github.event_name != 'workflow_dispatch' && github.event.release.tag_name || github.event.inputs.version }}
deploy: ${{ github.event_name != 'workflow_dispatch' }}
secrets:
WPORG_SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }}
WPORG_SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }}
3 changes: 2 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ jobs:
php: '7.4'
fail-fast: false
with:
wp: ${{ matrix.wp }}
node: true
php: ${{ matrix.php }}
wp: ${{ matrix.wp }}
6 changes: 4 additions & 2 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
fail-fast: false
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@trunk
with:
wp: 'nightly'
node: true
php: ${{ matrix.php }}
wp: 'nightly'
integration:
name: Nightly integration / PHP ${{ matrix.php }}
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@trunk
Expand All @@ -47,5 +48,6 @@ jobs:
- '7.4'
fail-fast: false
with:
wp: 'nightly'
node: true
php: ${{ matrix.php }}
wp: 'nightly'

0 comments on commit c57d7e6

Please sign in to comment.