Nightly Hash Check #1
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: 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 |