File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 8
8
type : string
9
9
default : ${{ inputs.ref }}
10
10
outputs :
11
- artifact_name :
11
+ version :
12
+ value : ${{ jobs.build.outputs.version }}
13
+ artifact_name :
12
14
value : ${{ jobs.build.outputs.artifact_name }}
13
- artifact_url :
15
+ artifact_url :
14
16
value : ${{ jobs.build.outputs.artifact_url }}
15
17
jobs :
16
18
build :
17
19
runs-on : ubuntu-latest
18
20
outputs :
19
21
artifact_name : ${{ steps.build.outputs.name }}
20
22
artifact_url : ${{ steps.artifacts.outputs.artifact-url }}
23
+ version : ${{ steps.build.outputs.version }}
21
24
steps :
22
25
- uses : actions/checkout@v4
23
26
with :
26
29
- name : Set up PHP
27
30
uses : shivammathur/setup-php@v2
28
31
with :
29
- php-version : ' 8.1 '
32
+ php-version : " 8.3 "
30
33
31
34
- name : Set up Node.js
32
35
uses : actions/setup-node@v4
38
41
run : |
39
42
npm install && npm run bundle
40
43
echo "name=$(jq -r .name package.json)" >> $GITHUB_OUTPUT
44
+ echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
41
45
42
46
- name : Upload
43
47
id : artifacts
You can’t perform that action at this time.
0 commit comments