-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
36 lines (36 loc) · 1.22 KB
/
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
35
36
---
name: Publish PackageCloud.io Packages
description: Easily mass-uploads RPM and DEB packages to PackageCloud.io. Other package types have limited support.
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
packages:
description: Name of the package or package-filled folder to upload.
required: true
userrepo:
description: The repository to upload into. Must be provided in format user/repo.
required: true
rpmdists:
description: "Space-separated list of RHEL distribution versions where RPMs get
uploaded. Example: el/6 ol/7"
required: false
debdists:
description: "Space-separated list of Debian distribution versions where DEBs
get uploaded. Example: ubuntu/focal debian/buster"
required: false
apitoken:
description: The Package Cloud API token with push access.
required: true
runs:
using: composite
steps:
- name: Upload packages to PackageCloud.io
run: ${{ github.action_path }}/upload.sh
shell: bash
env:
SOURCE: ${{ inputs.packages }}
REPO: ${{ inputs.userrepo }}
PACKAGECLOUD_RPM_DISTRIB: ${{ inputs.rpmdists }}
PACKAGECLOUD_DEB_DISTRIB: ${{ inputs.debdists }}
PACKAGECLOUD_TOKEN: ${{ inputs.apitoken }}