generated from GeekMasher/python-actions-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
34 lines (28 loc) · 955 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: 'cocoapods-dependency-submission-action'
description: 'CocoaPods Lockfile Dependency Submission Action'
inputs:
cocoapods-lock:
description: "CocoaPods Lockfile location"
repository:
description: Repository Owner and Repository Name
default: ${{ github.repository }}
token:
description: GitHub Personal Access Token
default: ${{ github.token }}
argvs:
description: Additional Arguments
runs:
using: "composite"
steps:
# [optional] Make sure your version of Python is installed
# - uses: actions/setup-python@v2
# with:
# python-version: '3.10'
- shell: bash
run: |
export PYTHONPATH=${{ github.action_path }}:${{ github.action_path }}/vendor
python3 -m cpdsa \
--github-token "${{ inputs.token }}" \
--github-repository "${{ inputs.repository }}" \
--cocoapods-lock "${{ inputs.cocoapods-lock }}" \
${{ inputs.argvs }}