Skip to content

Nightly Hash Check

Nightly Hash Check #6

Workflow file for this run

name: Nightly Hash Check
on:
schedule:
- cron: "0 0 * * *"
jobs:
build:
name: Nightly Hash Check
runs-on: ubuntu-latest
permissions:
contents: write
env:
HASH_LOCATION: /tmp/hash
URL: http://bin.entware.net/armv7sf-k3.2/installer
steps:
- uses: actions/checkout@v4
- name: Calculate Hash
run: |
mkdir -p $HASH_LOCATION
wget $URL/opkg -O $HASH_LOCATION/opkg
chmod 755 $HASH_LOCATION/opkg
wget $URL/opkg.conf -O $HASH_LOCATION/opkg.conf
wget $URL/ld-2.27.so -O $HASH_LOCATION/ld-2.27.so
wget $URL/libc-2.27.so -O $HASH_LOCATION/libc-2.27.so
wget $URL/libgcc_s.so.1 -O $HASH_LOCATION/libgcc_s.so.1
wget $URL/libpthread-2.27.so -O $HASH_LOCATION/libpthread-2.27.so
cat $HASH_LOCATION/* | md5sum > $GITHUB_WORKSPACE/hash.txt
git add .
- uses: stefanzweifel/git-auto-commit-action@v5