File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 99 version :
1010 timeout-minutes : 15
1111 runs-on : ubuntu-latest
12+ outputs :
13+ changesets : ${{ steps.changesets.outputs }}
1214 steps :
1315 - name : Checkout Code Repository
1416 uses : actions/checkout@v4
2628 run : pnpm install
2729
2830 - name : Create and Publish Versions
31+ id : changesets
2932 uses : changesets/action@v1
3033 with :
3134 commit : " chore: update versions"
3437 env :
3538 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3639 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
40+ sync-gh-releases :
41+ runs-on : ubuntu-latest
42+ needs : version
43+ steps :
44+ - name : Checkout Code Repository
45+ uses : actions/checkout@v4
46+ - name : Read from CHANGELOG
47+ uses : actions/github-script@v7
48+ env :
49+ CHANGESETS : ${{ needs.version.outputs.changesets }}
50+ with :
51+ script : |
52+ const title = process.env.CHANGESETS;
53+ console.error(title ?? 'N/A', typeof title);
54+
You can’t perform that action at this time.
0 commit comments