Skip to content

Update Check

Update Check #6594

Workflow file for this run

name: Update Check
on:
push:
branches:
- main
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
updatecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.CLMODDING_JARS }}
- name: Run update check script
env:
UPDATE_WEB_HOOK: ${{ secrets.UPDATE_WEB_HOOK }}
CLMODDING_JARS: ${{ secrets.CLMODDING_JARS_URL }}
run: |
sudo apt-get update && sudo apt-get install -y dos2unix
chmod +x ./scripts/update_check.sh
./scripts/update_check.sh
- name: Remove work folder
run: rm -rf ./jars
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
repository: .