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 43
43
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
44
run : npx semantic-release
45
45
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 15
15
"prepare": "@semantic-release/npm",
16
16
"publish": [
17
17
"@semantic-release/npm",
18
- ["@semantic-release/exec",
19
- {
20
- "publishCmd": "echo ::set-output name=nextVer::${nextRelease.version}"
21
- }
22
- ],
18
+ "@semantic-release/exec",
23
19
{
24
20
"path": "@semantic-release/github",
25
21
"assets": {
26
22
"path": "dist/*"
27
- }
23
+ },
24
+ "publishCmd": "echo ::set-output name=nextVer::${nextRelease.version}"
28
25
}
29
26
],
30
27
"success": [],
31
28
"fail": []
32
- }
29
+ }
You can’t perform that action at this time.
0 commit comments