Skip to content

Commit

Permalink
chore: rename setup-build to setup-environment and avoid "build" naming
Browse files Browse the repository at this point in the history
  • Loading branch information
matamegger committed Mar 5, 2024
1 parent 443a4be commit e25bdbf
Showing 8 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Setup build environment
description: Setup the build environment
name: Setup project environment
description: Setup the project environment

inputs:
node:
@@ -10,7 +10,7 @@ inputs:
description: Setup node and install root and subproject node modules (overrides `node` input)
default: false
required: false
ios-build:
ios:
description: Setup xcode and install dependencies
default: false
required: false
@@ -63,12 +63,12 @@ runs:
run: yarn install --frozen-lockfile --cwd integration_test

- uses: maxim-lobanov/setup-xcode@v1
if: ${{ inputs.ios-build == 'true' }}
if: ${{ inputs.ios == 'true' }}
with:
xcode-version: '14.3'

- name: Install dependencies
if: ${{ inputs.ios-build == 'true' }}
if: ${{ inputs.ios == 'true' }}
shell: bash
run: brew bundle install

8 changes: 4 additions & 4 deletions .github/workflows/ci-android.yml
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
java: true

@@ -53,8 +53,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
java: true
node: true
18 changes: 9 additions & 9 deletions .github/workflows/ci-ios-tvos.yml
Original file line number Diff line number Diff line change
@@ -43,10 +43,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
ios-build: true
ios: true

- name: Check code style
run: swiftlint --strict
@@ -58,12 +58,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true
subprojects: true
ios-build: true
ios: true
restore-pods: true

- name: Install pods
@@ -102,12 +102,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true
subprojects: true
ios-build: true
ios: true
restore-pods: true

- name: Install pods
4 changes: 2 additions & 2 deletions .github/workflows/ci-typescript.yml
Original file line number Diff line number Diff line change
@@ -98,8 +98,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true
subprojects: true
4 changes: 2 additions & 2 deletions .github/workflows/create-sdk-update-pr.yml
Original file line number Diff line number Diff line change
@@ -44,8 +44,8 @@ jobs:
git push origin --delete ${{ steps.branching.outputs.branch_name }} || true
git checkout -b ${{ steps.branching.outputs.branch_name }}
- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true
restore-pods: true
4 changes: 2 additions & 2 deletions .github/workflows/finish-release-train.yml
Original file line number Diff line number Diff line change
@@ -89,8 +89,8 @@ jobs:
run: |
git push origin v${{ needs.prepare.outputs.version_number }}
- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true

4 changes: 2 additions & 2 deletions .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
@@ -34,8 +34,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true
subprojects: true
4 changes: 2 additions & 2 deletions .github/workflows/start-release-train.yml
Original file line number Diff line number Diff line change
@@ -33,8 +33,8 @@ jobs:
git config --global user.name "Bitmovin Release Automation"
git config --global user.email "support@bitmovin.com"
- name: Setup build
uses: ./.github/actions/setup-build
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node: true
restore-pods: true

0 comments on commit e25bdbf

Please sign in to comment.