From 28d025bff39dd1ded8d581a9e5c079fa3cb9fdf7 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 19 Nov 2022 21:10:00 +0100 Subject: [PATCH] Try cache bursting harder --- .github/workflows/cron.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 6e20b51..b7116f2 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -24,7 +24,9 @@ jobs: - { version-range: "5.3", pre-release: true, is-latest: false } steps: - name: Fetch hash file - run: "curl -o snapshot.json -H 'Cache-Control: no-cache, no-store' -H 'User-Agent: phpmyadmin-snapshot-updater (+https://github.com/sudo-bot/docker-phpmyadmin-snapshots; williamdes@wdes.fr)' -s https://files.phpmyadmin.net/snapshots/phpMyAdmin-${{ matrix.version-range }}+snapshot.json?cache_burst=$(date +%s)" + run: "curl -vv -o snapshot.json -H 'Cache-Control: no-cache, no-store' -H 'User-Agent: phpmyadmin-snapshot-updater (+https://github.com/sudo-bot/docker-phpmyadmin-snapshots; williamdes@wdes.fr)' -s https://files.phpmyadmin.net/snapshots/phpMyAdmin-${{ matrix.version-range }}+snapshot.json" + - name: Display file + run: cat ./snapshot.json - name: Commit to variable run: echo "snapshot_commit=$(jq -r '.commit' ./snapshot.json)" >> $GITHUB_ENV - uses: actions/cache@v3