File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 64
64
runs-on : ubuntu-latest
65
65
needs : test
66
66
if : ${{ github.event_name == 'push' }}
67
- outputs :
68
- tag_name : ${{ steps.json_properties.outputs.solution.version }}
69
67
steps :
70
68
- name : Check out git repository
71
69
uses : actions/checkout@v4
81
79
git tag -f v${{ steps.json_properties.outputs.solution.version }}
82
80
git push --tags --force
83
81
82
+ - name : Set Variable value
83
+ run : |
84
+ echo "TAG_NAME=${{ steps.json_properties.outputs.solution.version }}" >> $GITHUB_OUTPUT
85
+
84
86
- name : Install Node.js v${{ env.NODE_VERSION }}, and NPM
85
87
uses : actions/setup-node@v4
86
88
with :
95
97
- name : Create sppkg package
96
98
run : gulp package-solution --ship
97
99
98
- - name : publish build artifact
100
+ - name : Publish build artifact
99
101
uses : actions/upload-artifact@v4
100
102
with :
101
103
name : sp-pkg
@@ -106,8 +108,10 @@ jobs:
106
108
name : Release sub-job
107
109
needs : package
108
110
uses : ./.github/workflows/release.yml
111
+ # env:
112
+ # TAG_NAME: ${{needs.package.outputs.TAG_NAME }}
109
113
with :
110
- tag_name : ${{ needs.package.tag_name }}
114
+ tag_name : ${{ needs.package.outputs.TAG_NAME }}
111
115
artifact_name : sp-pkg
112
116
# name: Release SPFx solution
113
117
# runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments