Update Dash Evo Tool download links #163
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
name: Update Dash Evo Tool download links | |
on: | |
repository_dispatch: | |
types: [release_published] | |
workflow_dispatch: # This allows the workflow to be triggered manually | |
schedule: # Run daily at midnight and noon UTC | |
- cron: 0 0,12 * * * | |
jobs: | |
update-evo-tool-download-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repository | |
uses: actions/checkout@v4 | |
- name: Run evo tool download link update script | |
id: update_script | |
run: | | |
output=$("${GITHUB_WORKSPACE}/scripts/evo-tool-download-link-update.sh") | |
# Extract the version number from the line that starts with "Extracted Version:" | |
version=$(echo "$output" | grep "Extracted Version:" | awk -F": " '{print $2}') | |
echo "version=${version}" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: update-docs/evo-tool-update-${{ github.sha }} | |
title: "chore: update evo tool download links to version ${{ steps.update_script.outputs.version }}" | |
body: | | |
This PR updates download links in the documentation to use Dash Evo Tool version ${{ steps.update_script.outputs.version }}. | |
commit-message: "chore: update evo tool download links to version ${{ steps.update_script.outputs.version }}" | |
reviewers: "thephez,pauldelucia" |