File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 4343 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4444 run : npx semantic-release
4545 id : ver
46+ outputs :
47+ output1 : ${{ steps.ver.outputs.nextVer }}
48+
49+ print :
50+ needs : tests
51+ runs-on : ubuntu-20.04
52+ steps :
53+ - name : Print version
54+ run : echo ${{ needs.tests.outputs.output1 }}
Original file line number Diff line number Diff line change 1515 "prepare": "@semantic-release/npm",
1616 "publish": [
1717 "@semantic-release/npm",
18- ["@semantic-release/exec",
19- {
20- "publishCmd": "echo ::set-output name=nextVer::${nextRelease.version}"
21- }
22- ],
18+ "@semantic-release/exec",
2319 {
2420 "path": "@semantic-release/github",
2521 "assets": {
2622 "path": "dist/*"
27- }
23+ },
24+ "publishCmd": "echo ::set-output name=nextVer::${nextRelease.version}"
2825 }
2926 ],
3027 "success": [],
3128 "fail": []
32- }
29+ }
You can’t perform that action at this time.
0 commit comments