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 63
63
name : Package SPFx solution
64
64
runs-on : ubuntu-latest
65
65
needs : test
66
+ outputs :
67
+ tag-name : ${{ steps.set-tag-name.outputs.tag-name }}
66
68
if : ${{ github.event_name == 'push' }}
67
69
steps :
68
70
- name : Check out git repository
@@ -73,15 +75,17 @@ jobs:
73
75
uses : zoexx/github-action-json-file-properties@release
74
76
with :
75
77
file_path : config/package-solution.json
78
+ prop_path : solution.version
76
79
77
80
- name : Tag Repo
78
81
run : |
79
- git tag -f v${{ steps.json_properties.outputs.solution.version }}
82
+ git tag -f v${{ steps.json_properties.outputs.value }}
80
83
git push --tags --force
81
84
82
85
- name : Set Variable value
86
+ id : set-tag-name
83
87
run : |
84
- echo "TAG_NAME =${{ steps.json_properties.outputs.solution.version }}" >> $GITHUB_OUTPUT
88
+ echo "tag-name =${{ steps.json_properties.outputs.value }}" >> $GITHUB_OUTPUT
85
89
86
90
- name : Install Node.js v${{ env.NODE_VERSION }}, and NPM
87
91
uses : actions/setup-node@v4
@@ -111,7 +115,7 @@ jobs:
111
115
# env:
112
116
# TAG_NAME: ${{needs.package.outputs.TAG_NAME }}
113
117
with :
114
- tag_name : ${{ needs.package.outputs.TAG_NAME }}
118
+ tag_name : ${{ needs.package.outputs.tag-name }}
115
119
artifact_name : sp-pkg
116
120
# name: Release SPFx solution
117
121
# runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments