Commit 8ef2bc4 1 parent ac59f47 commit 8ef2bc4 Copy full SHA for 8ef2bc4
File tree 6 files changed +20
-7
lines changed
6 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 19
19
- {name: 'WP latest', version: 'latest'}
20
20
- {name: 'WP minimum', version: 'WordPress/WordPress#6.1'}
21
21
- {name: 'WP trunk', version: 'WordPress/WordPress#master'}
22
+
22
23
steps :
23
24
- name : Checkout
24
25
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : ' Checkout Repository'
18
18
uses : actions/checkout@v4
19
+
19
20
- name : Dependency Review
20
21
uses : actions/dependency-review-action@v4
21
22
with :
Original file line number Diff line number Diff line change 8
8
release :
9
9
name : New release
10
10
runs-on : ubuntu-latest
11
+
11
12
steps :
12
13
- name : Checkout
13
14
uses : actions/checkout@v4
14
15
15
- - name : Set Node.js 16.x
16
+ - name : Setup node
16
17
uses : actions/setup-node@v4
17
18
with :
18
19
node-version-file : .nvmrc
22
23
npm install
23
24
npm run build
24
25
npm run makepot
25
- composer install --no-dev
26
+ composer install --no-dev -o
26
27
npm run archive
27
28
28
29
- name : Upload release asset
31
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
33
with :
33
34
upload_url : ${{ github.event.release.upload_url }}
34
- asset_path : ${{github.workspace}}/classifai.zip
35
+ asset_path : ${{ github.workspace }}/classifai.zip
35
36
asset_name : classifai.zip
36
37
asset_content_type : application/zip
Original file line number Diff line number Diff line change 19
19
jobs :
20
20
Validate :
21
21
runs-on : ubuntu-latest
22
+
22
23
steps :
23
24
- uses : 10up/action-repo-automator@trunk
24
25
with :
Original file line number Diff line number Diff line change 1
1
name : Release to Stable
2
+
2
3
on :
3
4
push :
4
5
branches :
5
6
- trunk
7
+
6
8
jobs :
7
9
release :
8
10
name : Push (merge) to trunk
9
11
runs-on : ubuntu-latest
12
+
10
13
steps :
11
14
- name : Checkout
12
15
uses : actions/checkout@v4
13
- - name : Set Node.js 16.x
16
+
17
+ - name : Setup node
14
18
uses : actions/setup-node@v4
15
19
with :
16
20
node-version-file : .nvmrc
21
+
17
22
- name : npm install and build
18
23
run : |
19
24
npm install
20
25
npm run build
21
26
npm run makepot
22
- composer install --no-dev
27
+ composer install --no-dev -o
23
28
npm run archive
29
+
24
30
- name : Release to Stable
25
31
uses : s0/git-publish-subdir-action@develop
26
32
env :
@@ -29,10 +35,12 @@ jobs:
29
35
FOLDER : release
30
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
37
MESSAGE : ' Release: ({sha}) {msg}'
38
+
32
39
- name : Build docs
33
40
run : npm run build:docs
41
+
34
42
- name : Deploy docs update
35
- uses : peaceiris/actions-gh-pages@v3
43
+ uses : peaceiris/actions-gh-pages@v4
36
44
with :
37
45
github_token : ${{ secrets.GITHUB_TOKEN }}
38
46
publish_dir : ' ./docs'
Original file line number Diff line number Diff line change 1
1
name : " WordPress version checker"
2
+
2
3
on :
3
4
push :
4
5
branches :
18
19
runs-on : ubuntu-latest
19
20
steps :
20
21
- name : WordPress version checker
21
- uses : skaut/wordpress-version-checker@v2.0.0
22
+ uses : skaut/wordpress-version-checker@v2.2.1
22
23
with :
23
24
repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments