mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-25 20:47:48 -04:00
ci: update dux-repo references
This commit is contained in:
1 parent
3388f78905
commit
20bcf8559b
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Download / publish an XBPS repository prefix on Cloudflare R2.
|
||||
# Shared by dux-shell and dux-packaging (same prefix); keep both copies identical.
|
||||
# Shared by dux-shell and dux-repo (same prefix); keep both copies identical.
|
||||
# ETag guard: publish aborts if another writer replaced x86_64-repodata mid-run.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
run: |
|
||||
SHOULD_BUILD=true
|
||||
if [ "${{ github.event_name }}" = "schedule" ]; then
|
||||
# dms/current is shared with dux-packaging; read this repo's own entry
|
||||
# dms/current is shared with dux-repo; read this repo's own entry
|
||||
PUBLISHED_COMMIT="$(curl -fsSL --retry 3 "$MANIFEST_URL" \
|
||||
| jq -r --arg repo "${{ github.repository }}" '.sources[$repo] // .source_commit // empty' 2>/dev/null || true)"
|
||||
if [ "$PUBLISHED_COMMIT" = "${{ github.sha }}" ]; then
|
||||
|
||||
Reference in new issue
Block a user