From ffb363fc297ccd233337458f51a688940b8526a2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 18:42:41 +0000 Subject: [PATCH] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 2829c987..b5a7908e 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -11,6 +11,7 @@ # https://www.linkedin.com/in/harisekhon # +--- name: Alpine 3 #env: @@ -21,8 +22,7 @@ on: branches: - master schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: @@ -33,15 +33,14 @@ jobs: env: repo: bash-tools steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apk add --no-cache 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 + - uses: actions/checkout@v2 + with: + submodules: true + - name: install git & make + run: apk add --no-cache git make + - name: init + run: make init + - name: build + run: make ci + - name: test + run: make test