Skip to content

Commit

Permalink
.github/workflows/deploy-template.yml: Fix paths for 3mdeb releases
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Żygowski <[email protected]>
  • Loading branch information
miczyg1 committed Sep 30, 2024
1 parent bd363ba commit 7e146d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
model="pcengines_apu2"
release=$(echo "$tag" | cut -d'_' -f3)
elif [ "${{ inputs.platform }}" == "msi" ]; then
base_dir="msi"
model=$(echo "$tag" | cut -d'_' -f1-2)
base_dir="3mdeb/msi_$(echo "$tag" | cut -d'_' -f1-2)"
model=""
release=$(echo "$tag" | cut -d'_' -f3)
elif [ "${{ inputs.platform }}" == "hardkernel" ]; then
base_dir="hardkernel"
model=$(echo "$tag" | cut -d'_' -f2-3)
base_dir="3mdeb/hardkernel_$(echo "$tag" | cut -d'_' -f2-3)"
model=""
release=$(echo "$tag" | cut -d'_' -f4)
fi
echo "base_dir=$base_dir" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 7e146d1

Please sign in to comment.