Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-up

GitHub Action

Carthage update checker

v1

Carthage update checker

arrow-up

Carthage update checker

Carthage new package version checker

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Carthage update checker

uses: MeilCli/carthage-update-check-action@v1

Learn more about this action in MeilCli/carthage-update-check-action

Choose a version

carthage-update-check-action


JavaScript based Carthage 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:
  carthage:
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
    - uses: MeilCli/carthage-update-check-action@v1
      id: outdated
    - uses: 8398a7/action-slack@v2
      if: steps.outdated.outputs.has_carthage_update != 'false'
      with:
        status: ${{ job.status }}
        text: ${{ steps.outdated.outputs.carthage_update_text }}
        author_name: GitHub Actions
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

input

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

output

  • has_carthage_update
    • has new package version information
    • value: true or false
  • carthage_update_text
    • new package version information text
  • carthage_update_json
    • new package version information json

License

MIT License.