From 0ec3fa5772aaad9af8109343b51e91ed354f7dac Mon Sep 17 00:00:00 2001 From: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> Date: Thu, 24 Sep 2020 23:51:02 +0800 Subject: [PATCH] Take another way to accomplish runtime image changing --- .github/workflows/sh-checker.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sh-checker.yml b/.github/workflows/sh-checker.yml index 787e2f5..9af8cea 100644 --- a/.github/workflows/sh-checker.yml +++ b/.github/workflows/sh-checker.yml @@ -26,13 +26,16 @@ jobs: sh_checker_exclude: "LICENSE README.md README.zh-Hans-CN.md" filed-test: runs-on: ubuntu-latest - container: - image: centos:centos7.0.1406 + # container: + # image: centos:centos7.0.1406 steps: - name: Checkout uses: actions/checkout@v2 - - name: What OS is running - run: uname -a + # - name: What OS is running + # run: uname -a - name: Run the filed-test - run: | - sudo bash install-release.sh + uses: docker://centos:centos7.0.1406 + with: + args: bash install-release.sh + # run: | + # sudo bash install-release.sh