Sync OTP versions #1591
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: Sync OTP versions | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every 30min | |
- cron: '*/30 * * * *' | |
jobs: | |
sync_otp_versions: | |
name: "Sync OTP versions" | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.elixir-install | |
key: elixir-install | |
- name: "Sync OTP versions" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
./scripts/elixir-install.sh [email protected] [email protected] | |
export PATH="$HOME/.elixir-install/installs/elixir/1.17.3-otp-27/bin:$PATH" | |
export PATH="$HOME/.elixir-install/installs/otp/27.1.2/bin:$PATH" | |
./scripts/sync_otp_versions.exs |