Skip to content

versions

versions #221

Workflow file for this run

name: versions
on:
repository_dispatch:
types:
- versions
schedule:
# Times are in UTC, this job is run daily @ 10HRS = 5AM EST
- cron: '50 9 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
- name: install apps
run: |
sudo apt-get update
sudo apt-get install libxml2-utils
- name: get versions
run: |
curl -sLo ~/am-distro-versions "https://github.com/forwardcomputers/bin/raw/main/am-distro-versions"
chmod +x ~/am-distro-versions
~/am-distro-versions
- name: commit and push
run: |
git config --local user.email "alim@forwardcomputers.com"
git config --local user.name "Ali Mustakim"
git add .
git diff-index --quiet HEAD || git commit -a -m "github actions update"
git push origin