-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.05 KB
/
tagged-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: "tagged-release"
on:
push:
tags:
- "v*"
jobs:
release:
name: "Tagged release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: ncipollo/[email protected]
with:
prerelease: false
draft: false
makeLatest: true
tag: "${{ github.ref_name }}"
name: "${{ github.ref_name }}"
artifacts: '*.proto'
generateReleaseNotes: true
trigger-doc-update-tagged:
needs: release
# Only run this for actual tagged releases, not beta or alpha releases
if: ${{ ! contains( github.ref_name, '-' ) }}
name: "Trigger documentation update (tagged)"
runs-on: "ubuntu-latest"
steps:
- name: "Trigger repository_dispatch"
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT_DOC_REPO_HOOKS }}
repository: Jelly-RDF/jelly-rdf.github.io
event-type: publish-docs-tagged
client-payload: '{ "tag": "${{ github.ref_name }}" }'