File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1616 fetch-depth : 0
1717
1818 - name : Release
19+ id : semantic
1920 uses : cycjimmy/semantic-release-action@v4
2021 with :
2122 semantic_version : 23.0.2
2425 @semantic-release/git@10.0.1
2526 conventional-changelog-conventionalcommits@7.0.2
2627 env :
27- GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
28+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
29+
30+ - name : Trigger Metadata Upload
31+ if : steps.semantic.outputs.new_release_published == 'true'
32+ run : |
33+ url="${{ secrets.FC_UPLOAD_META_ENDPOINT }}/?from=git&syncModuleMeta=true&moduleName=${{ github.event.repository.name }}&moduleVersion=${{ steps.semantic.outputs.new_release_version }}"
34+ echo "Uploading metadata to $url"
35+ curl -H "X-Fc-Invocation-Type:Async" \
36+ -s "$url"
You can’t perform that action at this time.
0 commit comments