updated ubuntu_github.yaml

pull/2/head
Hari Sekhon 3 years ago
parent 9507f108f4
commit 850592a4c6

@ -14,38 +14,17 @@
---
name: GitHub Actions Ubuntu
#env:
# DEBUG: 1
on: # [push]
on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 7 * * *'
jobs:
build:
#name: build
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-bash-tools # ${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-bash-tools
- uses: actions/cache@v1
with:
path: ~/.cpanm
key: ${{ runner.os }}-cpanm-bash-tools-${{ hashFiles('**/cpan-requirements.txt') }}
restore-keys: |
${{ runner.os }}-cpanm-bash-tools
- name: init
run: make init
- name: build
run: make ci
- name: test
run: make test
name: GitHub Ubuntu
uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master
#with:
# debug: 1

Loading…
Cancel
Save