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