mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
ci: setup workflow chain
This commit is contained in:
20
.github/workflows/ci.yml
vendored
Normal file
20
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
uses: ./.github/workflows/test.yml
|
||||
|
||||
build-docker:
|
||||
needs: test
|
||||
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
|
||||
uses: ./.github/workflows/build-docker.yml
|
||||
secrets: inherit
|
||||
|
||||
build-releases:
|
||||
needs: test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: ./.github/workflows/build-releases.yml
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user