From 072bd085d6d3709f2b2bc717cbe25570811d9443 Mon Sep 17 00:00:00 2001 From: Vinayak Gadad Date: Mon, 31 Jul 2023 23:38:21 -0700 Subject: [PATCH 1/2] Create test.yml --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0159220 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + runs-on: macos-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Run + run: pod --help && which pod + From 644fc580777a9587fbe3d36a67a912e828aa0fee Mon Sep 17 00:00:00 2001 From: Vinayak Gadad Date: Mon, 31 Jul 2023 23:48:03 -0700 Subject: [PATCH 2/2] Update test.yml --- .github/workflows/test.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0159220..efb0d00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,13 +13,15 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel + jobs: - build: + release: + name: Perform the Release runs-on: macos-latest + steps: - name: Checkout code uses: actions/checkout@v2 - - name: Run - run: pod --help && which pod - + + - name: Publish to CocoaPods + run: pod trunk push Test.podspec