Skip to content

Commit

Permalink
Merge pull request #226 from s3rj1k/rpm
Browse files Browse the repository at this point in the history
Add support for new inputs.
  • Loading branch information
andywolk authored Feb 23, 2024
2 parents e7825be + b2a4da7 commit 3bf5dc6
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci-rpm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,20 @@ on:
type: string
default: '/usr'
description: Set CMAKE_INSTALL_PREFIX variable
ADDITIONAL_PACKAGES:
required: false
type: string
default: ''
description: 'Additional packages to install (space delimited)'
secrets:
DOCKERHUB_USERNAME:
required: false
DOCKERHUB_TOKEN:
required: false
SIGNALWIRE_USERNAME:
required: false
SIGNALWIRE_TOKEN:
required: false

jobs:
deploy:
Expand All @@ -71,11 +80,14 @@ jobs:
- name: Build RPM Packages
uses: signalwire/build-rpm-packages-action@main
with:
project_name: ${{inputs.PROJECT_NAME}}
packager: ${{inputs.PACKAGER}}
project_name: ${{ inputs.PROJECT_NAME }}
packager: ${{ inputs.PACKAGER }}
use_cmake: ${{ inputs.USE_CMAKE }}
cmake_build_type: ${{ inputs.CMAKE_BUILD_TYPE }}
cmake_install_prefix: ${{ inputs.CMAKE_INSTALL_PREFIX }}
additional_packages: ${{ inputs.ADDITIONAL_PACKAGES }}
signalwire_username: ${{ secrets.SIGNALWIRE_USERNAME }}
signalwire_token: ${{ secrets.SIGNALWIRE_TOKEN }}

- name: Generate hash file
run: echo $GITHUB_SHA > hash.txt
Expand Down

0 comments on commit 3bf5dc6

Please sign in to comment.