diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index dc061d8..5a8b09e 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -43,7 +43,7 @@ jobs: build: - runs-on: 'windows-2022' + runs-on: 'macos-14' timeout-minutes: 20 steps: @@ -61,8 +61,8 @@ jobs: && \ "${{env.BUILD_REPOSITORY_FOLDERPATH}}/Laerdal.Scripts/Laerdal.SetupBuildEnvironment.sh" \ "https://nuget.pkg.github.com/Laerdal/index.json" \ - "${{ env.SCL_GITHUB_NUGET_FEED_USERNAME }}" \ - "${{ env.SCL_GITHUB_ACCESS_TOKEN }}" \ + "${{ github.actor }}" \ + "${{ github.token }}" \ "${{ env.BUILD_REPOSITORY_FOLDERPATH }}/Artifacts" # we need to manually install java11 because it is needed by the latest windows vm-images that run on diff --git a/Laerdal.Dfu/Laerdal.Dfu.csproj b/Laerdal.Dfu/Laerdal.Dfu.csproj index 534bb6f..59bc72e 100644 --- a/Laerdal.Dfu/Laerdal.Dfu.csproj +++ b/Laerdal.Dfu/Laerdal.Dfu.csproj @@ -2,7 +2,7 @@ - net8.0-ios;net8.0-android;netstandard2.1; + net8.0-ios;net8.0-android true true @@ -33,19 +33,6 @@ - - - - - - - - - - - - - diff --git a/Laerdal.Dfu/Laerdal.targets b/Laerdal.Dfu/Laerdal.targets index e2c1465..72ccb0c 100644 --- a/Laerdal.Dfu/Laerdal.targets +++ b/Laerdal.Dfu/Laerdal.targets @@ -88,6 +88,24 @@ + + + + + + + + + + true + true + + 1.0.0 diff --git a/Laerdal.Dfu/Platforms.NetStandard/DfuInstallation.cs b/Laerdal.Dfu/Platforms.NetStandard/DfuInstallation.cs deleted file mode 100644 index b4cefaa..0000000 --- a/Laerdal.Dfu/Platforms.NetStandard/DfuInstallation.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Laerdal.Dfu -{ - public partial class DfuInstallation - { - public DfuInstallation(string deviceId, string fileUrl) - { - throw new NotImplementedException(); - } - - public override void Abort() => throw new NotImplementedException(); - public override void Start() => throw new NotImplementedException(); - public override void Pause() => throw new NotImplementedException(); - public override void Resume() => throw new NotImplementedException(); - } -}