This action builds an RPM name, after fetching the latest git commit sha and latest tag on a GitHub repo branch.
owner
The owner username or organization owning the GitHub repository containing the branch being queried
repo
The name of the GitHub repository containing the branch being queried
branch
The name of the branch being queried
sha
the commit sha from a GitHub repo branch
latest-tag
the latest tag on the branch
exit-code
0 if the tests passed, 1 otherwise.
jobs: tests: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@master - name: Fetch RPM name uses: ./.github/actions/repo-info with: - owner: apache - repo: trafficserver - branch: 8.1.x