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 a3d57fc commit 8f31c6f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ runs:
shell: bash
run: dotnet workload install maui-android maui-ios maui-windows maui-maccatalyst --ignore-failed-sources

- name: Find android tools
shell: bash
run: which adb

- name: Build for Net7
shell: bash
run: dotnet build /p:Configuration=release /p:TargetFramework=net7.0 src/LaunchDarkly.ClientSdk/LaunchDarkly.ClientSdk.csproj
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,34 @@ on:

jobs:
# Building is done on mac runner due to xcode build dependencies
# build:
# runs-on: macos-latest-large
# permissions:
# id-token: write
# contents: read
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0 # If you only need the current version keep this
build:
runs-on: macos-latest-large
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # If you only need the current version keep this

# - uses: launchdarkly/gh-actions/actions/[email protected]
# name: Get secrets
# with:
# aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
# ssm_parameter_pairs: '/production/common/releasing/digicert/host = DIGICERT_HOST,/production/common/releasing/digicert/api_key = DIGICERT_API_KEY,/production/common/releasing/digicert/client_cert_file_b64 = DIGICERT_CLIENT_CERT_FILE_B64,/production/common/releasing/digicert/client_cert_password = DIGICERT_CLIENT_CERT_PASSWORD,/production/common/releasing/digicert/code_signing_cert_sha1_hash = DIGICERT_CODE_SIGNING_CERT_SHA1_HASH'
- uses: launchdarkly/gh-actions/actions/[email protected]
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/production/common/releasing/digicert/host = DIGICERT_HOST,/production/common/releasing/digicert/api_key = DIGICERT_API_KEY,/production/common/releasing/digicert/client_cert_file_b64 = DIGICERT_CLIENT_CERT_FILE_B64,/production/common/releasing/digicert/client_cert_password = DIGICERT_CLIENT_CERT_PASSWORD,/production/common/releasing/digicert/code_signing_cert_sha1_hash = DIGICERT_CODE_SIGNING_CERT_SHA1_HASH'

# # - name: CI check
# # uses: ./.github/actions/ci
# - name: CI check
# uses: ./.github/actions/ci

# - name: Build
# uses: ./.github/actions/build
- name: Build
uses: ./.github/actions/build

# - name: Retain artifacts for other jobs to use
# uses: actions/upload-artifact@v3
# with:
# name: dir-bin-release
# path: src/LaunchDarkly.ClientSdk/bin/Release/
# retention-days: 1
- name: Retain artifacts for other jobs to use
uses: actions/upload-artifact@v3
with:
name: dir-bin-release
path: src/LaunchDarkly.ClientSdk/bin/Release/
retention-days: 1

# Signing is done on Ubuntu
publish:
Expand Down

0 comments on commit 8f31c6f

Please sign in to comment.