Update asdf versions #236
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-asdf-versions.yaml | |
# Author: Mathew Fleisch <mathew.fleisch@gmail.com> | |
# Description: This action will iterate through the .tool-versions file | |
# and grab the latest version for each line, unless it is pinned | |
# in the pin file. If there are changes to the .tool-versions file | |
# the action will automatically tag a new version number. | |
name: Update asdf versions | |
on: | |
schedule: # trigger Tuesdays at 2:30am PT (09:30UTC) | |
- cron: '30 9 * * 2' | |
repository_dispatch: | |
types: | |
- trigger-asdf-update | |
jobs: | |
build: | |
name: Update asdf versions | |
runs-on: | |
- self-hosted | |
- linter | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: "Update asdf versions" | |
env: | |
REPO_EMAIL: ${{ secrets.REPO_EMAIL }} | |
GIT_TOKEN: ${{ secrets.GIT_TOKEN }} | |
REPO_OWNER: mathew-fleisch | |
REPO_NAME: github-actions-runner | |
REPO_BRANCH: main | |
# See the tools repo for more information: https://github.com/mathew-fleisch/tools | |
run: wget -qO- https://raw.githubusercontent.com/mathew-fleisch/tools/main/scripts/update-asdf-to-latest.sh | bash | |