ci: build dev without waiting for other steps

ci: don't depend on build-dev for release
This commit is contained in:
Zach Daniel 2023-02-01 00:49:20 -05:00
parent b885c8755e
commit 7803856c63

View file

@ -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