Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into feat/logging/cloudwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Nika Hassani committed Aug 29, 2023
2 parents 84d901e + bb973b2 commit 123df2e
Show file tree
Hide file tree
Showing 10,191 changed files with 1,023,044 additions and 141,172 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,8 @@ package-lock.json linguist-generated
pnpm-lock.yaml linguist-generated
pubspec.lock linguist-generated
yarn.lock linguist-generated

## GitHub Actions bundles
**/dist/*.mjs linguist-generated
**/dist/*.cjs linguist-generated
**/dist/*.cjs.map linguist-generated
5 changes: 3 additions & 2 deletions .github/composite_actions/fetch_backends/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ runs:
using: "composite"
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # 1.7.0
uses: aws-actions/configure-aws-credentials@04b98b3f9e85f563fb061be8751a0352327246b0 # 3.0.1
with:
unset-current-credentials: true
role-to-assume: ${{ inputs.role-to-assume }}
aws-region: ${{ inputs.aws-region }}
role-duration-seconds: 900
Expand All @@ -33,7 +34,7 @@ runs:
shell: bash

- name: Get Amplify App IDs / bucket ARNs from Secrets Manager
uses: aws-actions/aws-secretsmanager-get-secrets@bafac38d78b5f679d35ef3f36f9842a63de59564 # 1.0.0
uses: aws-actions/aws-secretsmanager-get-secrets@022e8919774ecb75e8e375656d7b1898936ab878 # 1.0.4
with:
secret-ids: |
${{ inputs.secret-identifier }}
Expand Down
2 changes: 1 addition & 1 deletion .github/composite_actions/install_dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d # 2.8.0
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # 2.10.0
with:
cache: true
channel: ${{ inputs.channel }}
Expand Down
32 changes: 2 additions & 30 deletions .github/composite_actions/launch_ios_simulator/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,6 @@ inputs:
ios-version:
description: The iOS version
default: "16"

runs:
using: "composite"
steps:
- name: List runtimes
shell: bash
run: |
xcrun simctl list runtimes -j
# Use xcodes (https://github.com/XcodesOrg/xcodes) to list runtimes for all Xcode versions
brew install xcodesorg/made/xcodes
xcodes runtimes
- name: Create Simulator
shell: bash
run: |
get_runtime() {
xcrun simctl list runtimes -j | jq -r '.runtimes[] | select(.name | startswith("iOS ${{ inputs.ios-version }}")) | .identifier' | head -n 1
}
# Clears the cache from previous attempts
clear_cache() {
sudo rm -rf ~/Library/Caches/com.robotsandpencils.xcodes/*
sudo rm -rf ~/Downloads/*
}
if [[ -z "$(get_runtime)" ]]; then
echo "No runtime found for iOS ${{ inputs.ios-version }}" >&2
clear_cache
sudo xcodes runtimes install 'iOS ${{ inputs.ios-version }}'
fi
xcrun simctl create test "iPhone 11" "$(get_runtime)"
xcrun simctl boot test
using: "node16"
main: "dist/index.mjs"
Loading

0 comments on commit 123df2e

Please sign in to comment.