Uploaded many more actions.

This commit is contained in:
2025-07-01 13:17:09 -07:00
parent d49aadb058
commit 3148d266f2
10 changed files with 318 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
ARG VERSION=7.0
ARG VERSION=9.0
FROM mcr.microsoft.com/dotnet/sdk:$VERSION
RUN apt update
@@ -7,7 +7,8 @@ RUN apt install curl -y
# Add tools to Path.
RUN echo 'export PATH="$PATH:$HOME/.dotnet/tools/"' | tee -a "$HOME/.bashrc" > /dev/null
# Install NugetForUnity tool: https://github.com/GlitchEnzo/NuGetForUnity
RUN dotnet tool install --global NuGetForUnity.Cli
ENV NUGETFORUNITY_VERSION=3.1.3
RUN dotnet tool install --global NuGetForUnity.Cli --version ${NUGETFORUNITY_VERSION}
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

View File

@@ -4,6 +4,9 @@ set -o pipefail
# Add root tools to Path.
export PATH="$PATH:/root/.dotnet/tools/"
# Define a local application data folder.
export XDG_DATA_HOME="$HOME/.local/share"
mkdir -p "$XDG_DATA_HOME"
PROGRAM=${PROGRAM:-"dotnet"}
exec 5>&1
@@ -22,4 +25,4 @@ echo "exitCode=$RESULT" >> "$GITHUB_OUTPUT"
if [[ "$CATCH_ERRORS" != "true" ]]; then
exit $RESULT
fi
fi