Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set dotnet install directory #6

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
working-directory: windows

- name: Push Docker image
if: ${{ github.event_name != 'pull_request' }}
run: |
docker push ${{ env.REGISTRY }}/${{ steps.image_name.outputs.lowercase }}:${{ matrix.tag }}
working-directory: windows
Expand All @@ -63,6 +64,7 @@ jobs:
working-directory: windows

- name: Push Xamarin Docker image
if: ${{ github.event_name != 'pull_request' }}
run: |
docker push ${{ env.REGISTRY }}/${{ steps.image_name.outputs.lowercase }}:${{ matrix.tag }}-xamarin
working-directory: windows
6 changes: 3 additions & 3 deletions windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ RUN `
# Install supported .NET SDKs
RUN `
curl -fSLO https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1 `
&& powershell .\dotnet-install.ps1 -Channel 6.0 `
&& powershell .\dotnet-install.ps1 -Channel 7.0 `
&& powershell .\dotnet-install.ps1 -Channel 8.0 `
&& powershell .\dotnet-install.ps1 -Channel 6.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
&& powershell .\dotnet-install.ps1 -Channel 7.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
&& powershell .\dotnet-install.ps1 -Channel 8.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
&& del dotnet-install.ps1
WORKDIR /actions-runner
Expand Down
Loading