Skip to content

Commit

Permalink
Try cache bursting harder
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Nov 19, 2022
1 parent 070caf8 commit 28d025b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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; [email protected])' -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; [email protected])' -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
Expand Down

0 comments on commit 28d025b

Please sign in to comment.