diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index 8684a26..a7b4624 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 @@ -78,14 +78,14 @@ runs: - name: Look at smctl shell: bash run: | - ls "/Users/runner/hostedtoolcache/smctl/latest/x64/ + which smctl-mac-x64 - name: Sign DLLs shell: bash run: | for dll in $(find ./src/LaunchDarkly.ClientSdk/bin/Release -name LaunchDarkly.ClientSdk.dll); do echo "${dll}" - /Users/runner/hostedtoolcache/smctl/latest/x64/DigiCert SSM Signing Clients/DigiCert SSM Signing Clients.app sign --keypair-alias key_573919999 --config-file="/tmp/DigiCert One Signing Manager Tools/smtools-linux-x64/pkcs11properties.cfg" --input "${dll}" + smctl sign --keypair-alias key_573919999 --config-file="/tmp/DigiCert One Signing Manager Tools/smtools-linux-x64/pkcs11properties.cfg" --input "${dll}" done # - name: Create Nuget Package