main
Usage
This action allows you to push rpm packages into an gitea organizations rpm repository.
Example workflow snippet (adjust the DEPLOY_PATH):
- name: Upload RPM
uses: actions/upload-rpm@main
with:
token: "${{ secrets.PACKAGES_DEPLOY_TOKEN }}"
files: "test.rpm"
This actions accepts one or multiple RPM files, either specified individually, using a wildcard pattern, or as a space-separated list.
Single File
with:
token: ${{ secrets.PACKAGES_DEPLOY_TOKEN }}
files: 'dist/app-1.0.0-1.x86_64.rpm'
Wildcard Pattern (Globbing)
with:
token: ${{ secrets.PACKAGES_DEPLOY_TOKEN }}
files: '*.rpm'
with:
token: ${{ secrets.PACKAGES_DEPLOY_TOKEN }}
files: 'build/rpms/**/*.rpm'
Multiple Explicit Files (Space-separated)
with:
token: ${{ secrets.PACKAGES_DEPLOY_TOKEN }}
files: 'dist/app-1.0.0.rpm dist/app-devel-1.0.0.rpm'