From da136f71362ef32158f1c23504a68f4fd4f10429 Mon Sep 17 00:00:00 2001 From: Pham Tama Date: Sun, 11 Feb 2024 12:50:17 +0700 Subject: [PATCH] misc --- .github/workflows/test.yml | 8 ++++---- action.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eaa0189..331fea0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 @@ -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 @@ -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' diff --git a/action.yml b/action.yml index d9904b3..cad455a 100644 --- a/action.yml +++ b/action.yml @@ -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.' @@ -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.