mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
ci: build dev without waiting for other steps
ci: don't depend on build-dev for release
This commit is contained in:
parent
b885c8755e
commit
7803856c63
1 changed files with 6 additions and 8 deletions
14
.github/workflows/ash-ci.yml
vendored
14
.github/workflows/ash-ci.yml
vendored
|
@ -141,6 +141,12 @@ jobs:
|
|||
build-dev:
|
||||
name: MIX_ENV=dev mix.compile
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: team-alembic/staple-actions/actions/mix-compile@main
|
||||
with:
|
||||
mix-env: dev
|
||||
release:
|
||||
needs:
|
||||
- credo
|
||||
# - doctor
|
||||
|
@ -150,14 +156,6 @@ jobs:
|
|||
- test
|
||||
- test-with-postgres
|
||||
- dialyzer
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: team-alembic/staple-actions/actions/mix-compile@main
|
||||
with:
|
||||
mix-env: dev
|
||||
release:
|
||||
needs: [build-dev]
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
name: Release
|
||||
|
|
Loading…
Reference in a new issue