Skip to content

Commit

Permalink
Merge pull request #156 from ecmwf-actions/package-rpm
Browse files Browse the repository at this point in the history
Add support for creating RPMs
  • Loading branch information
figi44 committed Jul 25, 2023
2 parents 348263f + 92028e7 commit 044a9da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ inputs:
default: "2"
cpack_generator:
description: >
Select which package type to create, options: `deb`. If selected, the currently checked out repository will be packaged.
Select which package type to create, options: `deb, rpm`. If selected, the currently checked out repository will be packaged.
required: false
cpack_options:
description: List of options for cpack, use the same form as for `cmake_options`.
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const main = async () => {
required: false,
});

const supportedGenerators = ["DEB"];
const supportedGenerators = ["DEB", "RPM"];
if (
cpackGenerator &&
!supportedGenerators.includes(cpackGenerator.toUpperCase())
Expand Down

0 comments on commit 044a9da

Please sign in to comment.