From 612b4277636bc42890c12ab863f8f9863b755b40 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 16:13:03 +0000 Subject: [PATCH] updated centos.yaml --- .github/workflows/centos.yaml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index ba47f6ea..31899aaf 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -14,34 +14,17 @@ --- name: CentOS -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: centos - env: - repo: bash-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: yum install -y git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: CentOS + uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + #with: + # debug: 1