We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea8dbab commit d324750Copy full SHA for d324750
.github/workflows/simulate-environment-reporting-prod.yml
@@ -52,8 +52,7 @@ jobs:
52
mkdir -p "running/$(dirname "${REPO_FILE}")"
53
54
# Fetch the file
55
- gh api repos/kosli-dev/${REPO}/contents/${REPO_FILE_PATH} \
56
- --ref ${LATEST_TAG} \
+ gh api "repos/kosli-dev/${REPO}/contents/${REPO_FILE_PATH}?ref=${LATEST_TAG}" \
57
--jq '.content' | base64 -d > running/${REPO_FILE}
58
59
echo "File downloaded successfully to running/${REPO_FILE}"
0 commit comments