Skip to content

next-actions/build-srpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build source rpm from tarball and spec file

You can use this action to build a source rpm of given tarball and spec file.

Inputs

tarball

Path to the tarball. Required.

specfile

Path to the spec file. Required.

sourcefiles

List of files to provide as spec file Sources. Optional.

Outputs

path

Absolute path to the created source rpm.

file

Source rpm file name.

Example usage

- name: Build source rpm
  id: srpm
  uses: next-actions/build-srpm@master
  with:
    tarball: package-n-v-r.tar.gz
    specfile: package.spec
    sourcefiles: |
      readme.md
      testconf.example

- name: Upload source rpm as an artifact
  uses: actions/upload-artifact@v2
  with:
    name: ${{ steps.srpm.outputs.file }}
    path: ${{ steps.srpm.outputs.path }}

About

Build source rpm from give tarball and spec file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published