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 14, 2023
1 parent 6208bab commit 55ad300
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ runs:
# run: dotnet build /restore /p:Configuration=Release src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj
run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0-android src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj

- name: Install Jsign for Linux signing
shell: bash
run: |
curl -fSslL https://github.com/ebourg/jsign/releases/download/4.2/jsign_4.2_all.deb -o jsign_3.1_all.deb
sudo dpkg --install jsign_3.1_all.deb
- name: Set up certificate
shell: bash
run: |
Expand All @@ -51,16 +57,17 @@ runs:
SM_CLIENT_CERT_PASSWORD: ${{ env.DIGICERT_CLIENT_CERT_PASSWORD }}
SM_CLIENT_CERT_FILE: ${{ env.DIGICERT_CLIENT_CERT_FILE_B64 }}

- name: Install Jsign for Linux signing
- name: Sign DLLs
shell: bash
run: |
curl -fSslL https://github.com/ebourg/jsign/releases/download/4.2/jsign_4.2_all.deb -o jsign_3.1_all.deb
sudo dpkg --install jsign_3.1_all.deb
for dll in $(find ./src/LaunchDarkly.ClientSdk/bin/Release -name LaunchDarkly.ClientSdk.dll); do
smctl sign --keypair-alias key_573919999 --config-file="/tmp/DigiCert One Signing Manager Tools/smtools-linux-x64/pkcs11properties.cfg" --input "${dll}
done
- name: Sign DLLs Testing
- name: Create Nuget Package
shell: bash
run: |
smctl sign -v --keypair-alias key_573919999 --config-file="/tmp/DigiCert One Signing Manager Tools/smtools-linux-x64/pkcs11properties.cfg" --input src/LaunchDarkly.ClientSdk/bin/release/net7.0-android/LaunchDarkly.ClientSdk.dll
nuget pack src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj -Properties Configuration=Release
# - id: publish
# name: Publish Package
Expand Down

0 comments on commit 55ad300

Please sign in to comment.