File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,12 @@ jobs:
57
57
58
58
- name : Build and Push Images
59
59
run : |
60
- # Determine the cache ID from ref input or github ref
61
- if [ -n "${{ inputs.ref }}" ]; then
62
- export TARGET_CACHE_ID="${{ inputs.ref }}"
63
- else
64
- export TARGET_CACHE_ID=${GITHUB_REF#refs/heads/}
65
- fi
66
-
60
+ # Use the original working approach from ci/build branch
61
+ export TARGET_CACHE_ID=${GITHUB_REF#refs/heads/}
67
62
export GHCR_ORG="movementlabsxyz"
68
- export PROFILE=${{ inputs. PROFILE || ' release' } }
69
- export FEATURES="${{ inputs. FEATURES }}"
63
+ export PROFILE=${PROFILE:- release}
64
+ export FEATURES=${ FEATURES:-""}
70
65
export CARGO_TARGET_DIR="target/${FEATURES:-default}"
71
- export CI=true
72
66
73
67
# Show build configuration
74
68
echo "Building with:"
You can’t perform that action at this time.
0 commit comments