-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (29 loc) · 1.11 KB
/
update-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
# Build the binary release version for Mac
name: Update binary release names and links in the doc
on:
repository_dispatch:
types: [node-released]
jobs:
node-released:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run the update script
run: |
chmod +x update-release-link.sh
./update-release-link.sh \
"${{ github.event.client_payload.release-version }}" \
"${{ github.event.client_payload.mac-link }}" \
"${{ github.event.client_payload.windows-download-link }}" \
"${{ github.event.client_payload.windows-preview-link }}" \
"${{ github.event.client_payload.linux-download-link }}" \
"${{ github.event.client_payload.linux-preview-link }}"
- name: Commit the changes
uses: EndBug/add-and-commit@v9
with:
author_name: "GitHub Action"
author_email: "[email protected]"
message: "Update node release to ${{ github.event.client_payload.release-version }}"