fix hardcode
This commit is contained in:
@@ -54,12 +54,12 @@ jobs:
|
|||||||
git lfs pull
|
git lfs pull
|
||||||
echo "LFS files pulled."
|
echo "LFS files pulled."
|
||||||
|
|
||||||
- name: Extract PROJECT path without trailing slash
|
- name: Extract Repository path
|
||||||
id: extract_project
|
|
||||||
run: |
|
run: |
|
||||||
PROJECT=${{ github.workspace#'/workspace/' }}
|
FULL_WORKSPACE_PATH="${{ github.workspace }}"
|
||||||
PROJECT=${PROJECT%/}
|
USER_REPOSITORY="${FULL_WORKSPACE_PATH#/workspace/}"
|
||||||
echo "PROJECT=$PROJECT" >> $GITHUB_ENV
|
USER_REPOSITORY="${USER_REPOSITORY%/}"
|
||||||
|
echo "USER_REPOSITORY=$USER_REPOSITORY" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set XDG_RUNTIME_DIR
|
- name: Set XDG_RUNTIME_DIR
|
||||||
run: |
|
run: |
|
||||||
@@ -413,7 +413,7 @@ jobs:
|
|||||||
escaped_img=$(echo "$skin_header.gif" | sed 's/ /%20/g')
|
escaped_img=$(echo "$skin_header.gif" | sed 's/ /%20/g')
|
||||||
escaped_osk=$(echo "$skin_header.osk" | sed 's/ /%20/g')
|
escaped_osk=$(echo "$skin_header.osk" | sed 's/ /%20/g')
|
||||||
|
|
||||||
echo "## [$skin_header]($REGISTRY_URL/$PROJECT/media/tag/$new_tag/export/$escaped_osk)" >> "$README_PATH"
|
echo "## [$skin_header]($REGISTRY_URL/$USER_REPOSITORY/media/tag/$new_tag/export/$escaped_osk)" >> "$README_PATH"
|
||||||
echo "" >> "$README_PATH"
|
echo "" >> "$README_PATH"
|
||||||
|
|
||||||
skin_desc=$(get_desc "$skin")
|
skin_desc=$(get_desc "$skin")
|
||||||
@@ -475,7 +475,7 @@ jobs:
|
|||||||
escaped_img=$(echo "$skin_header.gif" | sed 's/ /%20/g')
|
escaped_img=$(echo "$skin_header.gif" | sed 's/ /%20/g')
|
||||||
escaped_osk=$(echo "$skin_header.osk" | sed 's/ /%20/g')
|
escaped_osk=$(echo "$skin_header.osk" | sed 's/ /%20/g')
|
||||||
|
|
||||||
echo "## [$skin_header]($REGISTRY_URL/$PROJECT/media/tag/$new_tag/export/$escaped_osk)" >> "$README_PATH"
|
echo "## [$skin_header]($REGISTRY_URL/$USER_REPOSITORY/media/tag/$new_tag/export/$escaped_osk)" >> "$README_PATH"
|
||||||
echo "" >> "$README_PATH"
|
echo "" >> "$README_PATH"
|
||||||
|
|
||||||
if [ -f "$ini_file" ]; then
|
if [ -f "$ini_file" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user