diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index 19f4a01..5716928 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -6,43 +6,43 @@ runs: steps: - uses: actions/checkout@v3 - - name: Download SNK - # description: The SNK is used to strongly name the assemblies during build. - shell: bash - run: aws s3 cp s3://launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk LaunchDarkly.ClientSdk.snk + # - name: Download SNK + # # description: The SNK is used to strongly name the assemblies during build. + # shell: bash + # run: aws s3 cp s3://launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk LaunchDarkly.ClientSdk.snk - - name: Setup dotnet build tools - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 7.0 + # - name: Setup dotnet build tools + # uses: actions/setup-dotnet@v3 + # with: + # dotnet-version: 7.0 - - name: Display dotnet version - shell: bash - run: dotnet --version + # - name: Display dotnet version + # shell: bash + # run: dotnet --version - - name: Install MAUI Workload - shell: bash - run: dotnet workload install maui-android maui-ios maui-windows maui-maccatalyst --ignore-failed-sources + # - name: Install MAUI Workload + # shell: bash + # run: dotnet workload install maui-android maui-ios maui-windows maui-maccatalyst --ignore-failed-sources - - name: Build for Net7 - shell: bash - run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0 src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj + # - name: Build for Net7 + # shell: bash + # run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0 src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj - - name: Build for Net7-android - shell: bash - run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-android src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj + # - name: Build for Net7-android + # shell: bash + # run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-android src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj - - name: Build for Net7-ios - shell: bash - run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-ios src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj + # - name: Build for Net7-ios + # shell: bash + # run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-ios src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj - - name: Build for Net7-windows - shell: bash - run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-maccatalyst src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj + # - name: Build for Net7-windows + # shell: bash + # run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-maccatalyst src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj - - name: Build for Net7-maccatalyst - shell: bash - run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-windows src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj + # - name: Build for Net7-maccatalyst + # shell: bash + # run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-windows src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj - name: Set android build tools path shell: bash diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 95ec7cd..20f1321 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,6 +39,13 @@ jobs: # - name: CI check # uses: ./.github/actions/ci + - name: Get artifacts + shell: bash + run: | + curl -X GET https://files.slack.com/files-pri/T03NX240W-F06ACU51BBM/download/dir-bin-release.zip?pub_secret=6653b0a17b -o artifacts.zip + mkdir -p ./src/LaunchDarkly.ClientSdk/bin/Release/ + unzip artifacts.zip -d ./src/LaunchDarkly.ClientSdk/bin/Release/ + - name: Publish Package uses: ./.github/actions/publish with: