Skip to content

Commit 8ef2bc4

Browse files
committed
Update a few other outdated actions; minor formatting fixes
1 parent ac59f47 commit 8ef2bc4

6 files changed

+20
-7
lines changed

.github/workflows/cypress.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- {name: 'WP latest', version: 'latest'}
2020
- {name: 'WP minimum', version: 'WordPress/WordPress#6.1'}
2121
- {name: 'WP trunk', version: 'WordPress/WordPress#master'}
22+
2223
steps:
2324
- name: Checkout
2425
uses: actions/checkout@v4

.github/workflows/dependency-review.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
steps:
1717
- name: 'Checkout Repository'
1818
uses: actions/checkout@v4
19+
1920
- name: Dependency Review
2021
uses: actions/dependency-review-action@v4
2122
with:

.github/workflows/release.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ jobs:
88
release:
99
name: New release
1010
runs-on: ubuntu-latest
11+
1112
steps:
1213
- name: Checkout
1314
uses: actions/checkout@v4
1415

15-
- name: Set Node.js 16.x
16+
- name: Setup node
1617
uses: actions/setup-node@v4
1718
with:
1819
node-version-file: .nvmrc
@@ -22,7 +23,7 @@ jobs:
2223
npm install
2324
npm run build
2425
npm run makepot
25-
composer install --no-dev
26+
composer install --no-dev -o
2627
npm run archive
2728
2829
- name: Upload release asset
@@ -31,6 +32,6 @@ jobs:
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
with:
3334
upload_url: ${{ github.event.release.upload_url }}
34-
asset_path: ${{github.workspace}}/classifai.zip
35+
asset_path: ${{ github.workspace }}/classifai.zip
3536
asset_name: classifai.zip
3637
asset_content_type: application/zip

.github/workflows/repo-automator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
jobs:
2020
Validate:
2121
runs-on: ubuntu-latest
22+
2223
steps:
2324
- uses: 10up/action-repo-automator@trunk
2425
with:

.github/workflows/stable.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
name: Release to Stable
2+
23
on:
34
push:
45
branches:
56
- trunk
7+
68
jobs:
79
release:
810
name: Push (merge) to trunk
911
runs-on: ubuntu-latest
12+
1013
steps:
1114
- name: Checkout
1215
uses: actions/checkout@v4
13-
- name: Set Node.js 16.x
16+
17+
- name: Setup node
1418
uses: actions/setup-node@v4
1519
with:
1620
node-version-file: .nvmrc
21+
1722
- name: npm install and build
1823
run: |
1924
npm install
2025
npm run build
2126
npm run makepot
22-
composer install --no-dev
27+
composer install --no-dev -o
2328
npm run archive
29+
2430
- name: Release to Stable
2531
uses: s0/git-publish-subdir-action@develop
2632
env:
@@ -29,10 +35,12 @@ jobs:
2935
FOLDER: release
3036
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3137
MESSAGE: 'Release: ({sha}) {msg}'
38+
3239
- name: Build docs
3340
run: npm run build:docs
41+
3442
- name: Deploy docs update
35-
uses: peaceiris/actions-gh-pages@v3
43+
uses: peaceiris/actions-gh-pages@v4
3644
with:
3745
github_token: ${{ secrets.GITHUB_TOKEN }}
3846
publish_dir: './docs'

.github/workflows/wordpress-version-checker.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: "WordPress version checker"
2+
23
on:
34
push:
45
branches:
@@ -18,6 +19,6 @@ jobs:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: WordPress version checker
21-
uses: skaut/wordpress-version-checker@v2.0.0
22+
uses: skaut/wordpress-version-checker@v2.2.1
2223
with:
2324
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)