-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (26 loc) · 723 Bytes
/
action.yml
File metadata and controls
31 lines (26 loc) · 723 Bytes
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
name: "Python Package Index Generator"
description: "Generates an index.html file for hosting a private Python package repository"
author: "EarningsCall"
inputs:
s3_bucket_name:
description: "S3 bucket name"
required: true
default: "EarningsCall"
runs:
using: "composite"
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
shell: bash
run: |
python -m pip install boto3 botocore
- name: Generate Index
shell: bash
run: |
python ${{ github.action_path }}/generate-index.py --s3-bucket-name ${{ inputs.s3_bucket_name }}
branding:
icon: "package"
color: "blue"