diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index e884184..a8dd10b 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -5,7 +5,7 @@ on: types: [published] env: - NET_VERSION: 10.*.* + NET_VERSION: 10.0.100 PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj' NUGET_PATH: './**/IeuanWalker.Maui.StateButton.${{ github.event.release.tag_name }}.nupkg' @@ -15,6 +15,9 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Display dotnet info + run: dotnet --info - name: Setup .NET ${{ env.NET_VERSION }} uses: actions/setup-dotnet@v4 @@ -24,6 +27,9 @@ jobs: - name: Install .NET MAUI ${{ env.NET_VERSION }} run: dotnet workload install maui --ignore-failed-sources + - name: Display dotnet info + run: dotnet --info + - name: Restore dependencies run: dotnet restore ${{ env.PROJECT_PATH }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb1765d..38e0cf7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: - cron: '0 0 1 */3 *' # Every 3 months env: - NET_VERSION: 10.*.* + NET_VERSION: 10.0.100 PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj' NUGET_PATH: './**/IeuanWalker.Maui.StateButton.1.0.0.nupkg' @@ -19,6 +19,9 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Display dotnet info + run: dotnet --info - name: Setup .NET ${{ env.NET_VERSION }} uses: actions/setup-dotnet@v4 @@ -27,6 +30,9 @@ jobs: - name: Install .NET MAUI ${{ env.NET_VERSION }} run: dotnet workload install maui --ignore-failed-sources + + - name: Display dotnet info + run: dotnet --info - name: Restore dependencies run: dotnet restore ${{ env.PROJECT_PATH }} diff --git a/global.json b/global.json new file mode 100644 index 0000000..fe7e453 --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "10.0.100", + "rollForward": "latestFeature", + "allowPrerelease": false + } +} \ No newline at end of file