diff --git a/.github/actions/build_ios/actions.yml b/.github/actions/build_ios/actions.yml new file mode 100644 index 0000000..931174b --- /dev/null +++ b/.github/actions/build_ios/actions.yml @@ -0,0 +1,19 @@ +name: 'Build iOS App' +description: 'Builds the iOS app using Fastlane' + +runs: + using: 'composite' + + steps: + - name: Hello Function + run: echo "Hello!" + shell: bash + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.7' + + - name: Install Fastlane + run: gem install fastlane + shell: bash \ No newline at end of file diff --git a/.github/actions/build_ios/actions_ios.yml b/.github/actions/build_ios/actions_ios.yml deleted file mode 100644 index 8edf351..0000000 --- a/.github/actions/build_ios/actions_ios.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: 'Build iOS App' -description: 'Builds the iOS app using Fastlane' - -jobs: - build_ios: - runs-on: macOS-latest - steps: - - name: Hello Function - run: echo "Hello!" - shell: bash - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '2.7' - - - name: Install Fastlane - run: gem install fastlane - shell: bash \ No newline at end of file diff --git a/.github/workflows/build_ios.yml b/.github/workflows/build_ios.yml new file mode 100644 index 0000000..541e75d --- /dev/null +++ b/.github/workflows/build_ios.yml @@ -0,0 +1,20 @@ +name: "iOS Test" + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + runs-on: macOS-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Build iOS + uses: ./.github/actions/build_ios