|
@@ -1,10 +1,11 @@
|
|
|
-name: Docker CI build
|
|
|
+name: Build
|
|
|
# This workflow is triggered on pushes to the repository.
|
|
|
on:
|
|
|
push:
|
|
|
paths-ignore:
|
|
|
- 'doc/**'
|
|
|
- - 'completions/**'
|
|
|
+ - 'README.md'
|
|
|
+ - '.gitignore'
|
|
|
pull_request:
|
|
|
|
|
|
jobs:
|
|
@@ -21,3 +22,13 @@ jobs:
|
|
|
with:
|
|
|
name: yay_release
|
|
|
path: artifacts
|
|
|
+ tag:
|
|
|
+ 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 }}
|
|
|
+ if: github.ref == 'master' && github.event_name == 'push'
|