Skip to content
name: Release plugin to QA
on:
push:
branches:
- releases/[0-9]+.x.x/[0-9]+.[0-9]+.x/[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
jobs:
Check-If-ReleaseNotes-Pushed:
runs-on: ubuntu-latest
outputs:
answer: ${{ steps.filter.outputs.releasenotesfile }}
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
releasenotesfile:
- 'releasenotes.**'
Run-Unit-Tests:
needs: Check-If-ReleaseNotes-Pushed
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
uses: ./.github/workflows/unit-tests-workflow.yml
Prepere-To-QA:
needs: [Run-Unit-Tests,Check-If-ReleaseNotes-Pushed]
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
uses: ./.github/workflows/prepare-for-QA-release.yml
Release-To-QA:
runs-on: macos-latest
needs: [Run-Unit-Tests,Check-If-ReleaseNotes-Pushed,Prepere-To-QA]
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Cocoapods
run: gem install cocoapods
- name: Push to COCOAPODS
uses: michaelhenry/deploy-to-cocoapods-github-action@1.0.10
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.CI_COCOAPODS_TOKEN }}