Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
build test
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld committed Dec 15, 2023
1 parent c449b62 commit 3a65bd7
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3a65bd7

Please sign in to comment.