This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
796edcb
commit d468d35
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: '' | ||
# - uses: launchdarkly/gh-actions/actions/[email protected] | ||
# name: Get secrets | ||
# with: | ||
# aws_assume_role: ${{ vars.AWS_ROLE_ARN }} | ||
# ssm_parameter_pairs: '' | ||
|
||
# - 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 | ||
sign: | ||
|
@@ -94,7 +94,7 @@ jobs: | |
# Packing and publishing is done on Ubuntu | ||
pack-publish: | ||
runs-on: macos-latest-large | ||
# needs: build | ||
needs: sign | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
@@ -114,6 +114,6 @@ jobs: | |
with: | ||
aws_assume_role: ${{ vars.AWS_ROLE_ARN }} | ||
ssm_parameter_pairs: '' | ||
|
||
- name: Publish | ||
uses: ./.github/actions/publish |