diff --git a/.github/workflows/ci-sample.yml b/.github/workflows/ci-sample.yml index a6a6b7a..368e866 100644 --- a/.github/workflows/ci-sample.yml +++ b/.github/workflows/ci-sample.yml @@ -15,6 +15,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Install .NET MAUI + run: dotnet workload install maui - name: Restore dependencies run: dotnet restore samples\AudioPlayerSample.sln - name: Build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8259ae5..cc43ef1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Install .NET MAUI + run: dotnet workload install maui - name: Restore dependencies run: dotnet restore src\Plugin.Maui.Audio.sln - name: Build diff --git a/.github/workflows/release-nuget.yml b/.github/workflows/release-nuget.yml index 8146b7c..4df491c 100644 --- a/.github/workflows/release-nuget.yml +++ b/.github/workflows/release-nuget.yml @@ -16,6 +16,12 @@ jobs: run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep origin/main + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Install .NET MAUI + run: dotnet workload install maui - name: Get version information from tag id: get_version uses: battila7/get-version-action@v2