Skip to content

Commit

Permalink
Extract release job notify-dependents (#4461)
Browse files Browse the repository at this point in the history
Related:
* #4416 

Changes

```
release+notify -
                \
pyk-build-docs ---  gh-pages
```

to

```
       release --- notify
                \
pyk-build-docs --- gh-pages
```

This will let us notify dependents after both the K and pyk release jobs
go through:

```
release --- pyk-publish --- notify
                         \
         pyk-build-docs --- gh-pages
```

---------

Co-authored-by: rv-jenkins <[email protected]>
Co-authored-by: Bruce Collie <[email protected]>
  • Loading branch information
3 people authored Jun 20, 2024
1 parent 8fd58b3 commit 24d37d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,11 @@ jobs:
script: |
const { owner, repo } = context.repo
await github.rest.repos.updateRelease({ owner, repo, release_id: ${{ needs.set-release-id.outputs.release_id }}, prerelease: false })
notify-dependents:
runs-on: ubuntu-latest
needs: release
steps:
- name: 'Update dependents'
env:
GITHUB_TOKEN: ${{ secrets.JENKINS_GITHUB_PAT }}
Expand Down

0 comments on commit 24d37d2

Please sign in to comment.