node-released #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }}" |