File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ COPY ./tests/CompaniesHouse.Tests/*.csproj ./tests/CompaniesHouse.Tests/
2121COPY ./samples/SampleProject/*.csproj ./samples/SampleProject/
2222RUN dotnet restore
2323
24- FROM restore as build
24+ FROM restore AS build
2525ARG CONFIGURATION
2626ARG NUGET_PACKAGE_VERSION
2727
@@ -30,11 +30,11 @@ COPY ./tests/ ./tests/
3030COPY ./samples/ ./samples/
3131RUN dotnet build --configuration $CONFIGURATION --no-restore
3232
33- FROM build as test
33+ FROM build AS test
3434ARG COMPANIES_HOUSE_API_KEY
3535RUN dotnet test --logger trx --configuration $CONFIGURATION --no-build
3636
37- FROM build as pack
37+ FROM build AS pack
3838RUN mkdir -p artifacts
3939RUN dotnet pack --configuration Release -p:Version=${NUGET_PACKAGE_VERSION} --no-build --output ./artifacts
4040
You can’t perform that action at this time.
0 commit comments