yay/.github/workflows/docker-ci.yml

35 lines
819 B
YAML
Raw Normal View History

2020-01-12 16:16:04 +01:00
name: Build
# This workflow is triggered on pushes to the repository.
on:
push:
paths-ignore:
- 'doc/**'
2020-01-12 16:16:04 +01:00
- 'README.md'
- '.gitignore'
pull_request:
jobs:
build:
name: Build and test yay
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1#
- name: Run Build and tests
run: ./testdata/ci/full.sh
2019-09-29 13:01:17 +02:00
- uses: actions/upload-artifact@master
with:
name: yay_release
path: artifacts
2020-01-12 16:16:04 +01:00
tag:
2020-01-12 16:28:45 +01:00
if: contains(github.ref, 'master')
2020-01-12 16:16:04 +01:00
name: Tag release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Bump version and push tag
uses: mathieudutour/github-tag-action@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}