We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01fb96c commit 1a55b66Copy full SHA for 1a55b66
.github/workflows/release.yml
@@ -16,6 +16,7 @@ jobs:
16
fetch-depth: 0
17
18
- name: Release
19
+ id: semantic
20
uses: cycjimmy/semantic-release-action@v4
21
with:
22
semantic_version: 23.0.2
@@ -24,4 +25,12 @@ jobs:
24
25
@semantic-release/[email protected]
26
[email protected]
27
env:
- 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"
0 commit comments