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 c22fc67 commit 3f5e9ac
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 29 deletions.
58 changes: 29 additions & 29 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
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3f5e9ac

Please sign in to comment.