Skip to content

Commit

Permalink
ci: build after ci completes
Browse files Browse the repository at this point in the history
  • Loading branch information
raddessi committed Jan 28, 2024
1 parent 0bdb8bf commit 6e76391
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: release

on:
push:
workflow_run:
workflows: ["CI"]
types:
- completed
branches:
- main
# push:
# branches:
# - main

jobs:
tag:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -36,9 +42,9 @@ jobs:
release_version: ${{ env.release_version }}

build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: tag
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -72,9 +78,9 @@ jobs:
overwrite: true

docs-build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: tag
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 6e76391

Please sign in to comment.