CI: split tasks
This commit is contained in:
parent
52ba9e6377
commit
b89e9196f9
1 changed files with 11 additions and 1 deletions
12
.github/workflows/crystal.yml
vendored
12
.github/workflows/crystal.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: test
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: crystallang/crystal
|
image: crystallang/crystal
|
||||||
|
@ -41,7 +42,16 @@ jobs:
|
||||||
run: shards install
|
run: shards install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: crystal build
|
run: crystal build
|
||||||
|
|
||||||
|
deliver:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: crystallang/crystal
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
|
Loading…
Reference in a new issue