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:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
|
||||
container:
|
||||
image: crystallang/crystal
|
||||
|
@ -41,7 +42,16 @@ jobs:
|
|||
run: shards install
|
||||
- name: Run tests
|
||||
run: crystal build
|
||||
|
||||
|
||||
deliver:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
container:
|
||||
image: crystallang/crystal
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
|
Loading…
Reference in a new issue