Skip to content

Commit

Permalink
actually support android64, requires cli >=2.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Jan 2, 2024
1 parent f77cfe5 commit eacd44a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,18 @@ runs:
fi
if [ "$TARGET" = "Android32" ]; then
PLAT=android
OUTPUT_ID=android32
elif [ "$TARGET" = "Android64" ]; then
PLAT=android
OUTPUT_ID=android64
elif [ "$TARGET" = "Win32" ]; then
PLAT=windows
OUTPUT_ID=win
elif [ "$TARGET" = "MacOS" ]; then
PLAT=macos
OUTPUT_ID=mac
fi
echo "id=$ID" >> $GITHUB_OUTPUT
echo "target=$TARGET" >> $GITHUB_OUTPUT
echo "binary_platform=$PLAT" >> $GITHUB_OUTPUT
echo "out_id=$OUTPUT_ID" >> $GITHUB_OUTPUT
echo "target_id=$OUTPUT_ID" >> $GITHUB_OUTPUT
- uses: ilammy/msvc-dev-cmd@v1
with:
Expand Down Expand Up @@ -143,7 +138,7 @@ runs:
SDK_VERSION=${{ inputs.sdk }}
fi
geode sdk update $SDK_VERSION
geode sdk install-binaries --platform ${{ steps.platform.outputs.binary_platform }}
geode sdk install-binaries --platform ${{ steps.platform.outputs.target_id }}
export CPM_CACHE="${{ github.action_path }}/cpm-cache"
echo "CPM_SOURCE_CACHE=$CPM_CACHE" >> $GITHUB_ENV
Expand Down Expand Up @@ -188,5 +183,5 @@ runs:
if: ${{ inputs.combine }}
uses: actions/upload-artifact@v3
with:
name: "geode-build-${{ steps.platform.outputs.out_id }}"
name: "geode-build-${{ steps.platform.outputs.target_id }}"
path: "${{ steps.build.outputs.output }}/*.geode"

0 comments on commit eacd44a

Please sign in to comment.