Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
shadichy committed Feb 11, 2024
1 parent 800287d commit da136f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
This is sample package.
id: build
- run: |
docker run --rm -v $PWD:/work -t centos:7 bash -c 'rpm -Uvh /work/*.rpm && testbin'
docker run --rm -v $PWD:/work -t centos:8 bash -c 'rpm -Uvh /work/*.rpm && testbin'
- name: Test file_name
run: test ${{ steps.build.outputs.file_name }} = 'testbin-1.0.0-1.el7.x86_64.rpm'
- name: Test debuginfo_file_name
Expand All @@ -55,7 +55,7 @@ jobs:
echo -e "echo hello2" > .rpmpkg/usr/bin/testbin2
echo -e "a=1" > .rpmpkg/usr/lib/testbin/testbin.conf
chmod +x .rpmpkg/usr/bin/*
- uses: jiro4989/build-rpm-action@v2
- uses: Team-Fuho/tfh-rpm-action@v2.5.2
with:
summary: 'testbin is a test script'
package: testbin
Expand All @@ -65,7 +65,7 @@ jobs:
arch: 'x86_64'
desc: 'test package'
- run: |
docker run --rm -v $PWD:/work -t centos:7 bash -c 'rpm -Uvh /work/*.rpm && testbin'
docker run --rm -v $PWD:/work -t centos:8 bash -c 'rpm -Uvh /work/*.rpm && testbin'
test-github-refs-version:
runs-on: ubuntu-latest
Expand All @@ -91,4 +91,4 @@ jobs:
# build_requires: 'perl-Git = 2.43.0'
# requires: 'git-core = 2.43.0'
- run: |
docker run --rm -v $PWD:/work -t centos:7 bash -c 'rpm -Uvh /work/*.rpm && testbin'
docker run --rm -v $PWD:/work -t centos:8 bash -c 'rpm -Uvh /work/*.rpm && testbin'
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'build-rpm-action'
name: 'tfh-rpm-action'
description: 'Build rpm package.'
author: 'jiro4989'
author: 'Team-Fuho'
inputs:
summary:
description: 'Package summary.'
Expand Down Expand Up @@ -47,7 +47,7 @@ outputs:
description: 'File name of resulting .rpm debuginfo file.'
runs:
using: 'docker'
image: 'docker://jiro4989/build-rpm-action:2.5.0'
image: 'docker://Team-Fuho/tfh-rpm-action:2.5.2'

# Ref: https://haya14busa.github.io/github-action-brandings/
# TODO: update branding if you want.
Expand Down

0 comments on commit da136f7

Please sign in to comment.