Skip to content
This repository was archived by the owner on Mar 9, 2024. It is now read-only.

MeilCli/cocoapods-update-check-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

cocoapods-update-check-action

CI-Master
CocoaPods new package version check action for GitHub Actions.

Required

This action must execute on macOS.

Example

Slack notification example, using 8398a7/action-slack:

name: Check Package

on: 
  schedule:
    - cron: '0 8 * * 5' # every friday AM 8:00
jobs:
  cocoapod:
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
    - uses: MeilCli/cocoapods-update-check-action@v3
      id: outdated
    - uses: 8398a7/action-slack@v2
      if: steps.outdated.outputs.has_pod_update != 'false'
      with:
        status: ${{ job.status }}
        text: ${{ steps.outdated.outputs.pod_update_text }}
        author_name: GitHub Actions
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

You can also pin to a specific release version in the format @v3.x.x

input

  • execute_directories
    • optional
    • execute directories of npm outdated command
    • if multiple directories, write multiline

output

  • has_pod_update
    • has new package version information
    • value: true or false
  • pod_update_text
    • new package version information text
  • pod_update_json
    • new package version information json

Contributes

Could you want to contributes?

see Contributing.md

License

About

CocoaPods new package version check action for GitHub Actions.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •