Skip to content

add change yo workflows #51

add change yo workflows

add change yo workflows #51

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:
needs: [Run-Unit-Tests,Check-If-ReleaseNotes-Pushed,Prepere-To-QA]

Check failure on line 34 in .github/workflows/release-QA-workflow.yml

View workflow run for this annotation

GitHub Actions / Release plugin to QA

Invalid workflow file

The workflow is not valid. .github/workflows/release-QA-workflow.yml (Line: 34, Col: 5): Required property is missing: runs-on
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
steps:
- 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 }}