Skip to content

deps(nuget): Bump the minor-and-patch group with 6 updates (#257) #46

deps(nuget): Bump the minor-and-patch group with 6 updates (#257)

deps(nuget): Bump the minor-and-patch group with 6 updates (#257) #46

name: "AEGS: Release Please"
on:
push:
branches:
- master
- main
permissions:
contents: write
pull-requests: write
actions: write
jobs:
release-please:
name: "AEGS: Release Please"
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- name: Release Please
id: release
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
trigger-release-workflows:
name: "AEGS: Trigger Release Workflows"
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
steps:
- name: Trigger GitHub Release (binaries)
uses: actions/github-script@v8
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release.yml',
ref: 'master',
inputs: {
tag_name: '${{ needs.release-please.outputs.tag_name }}'
}
});
- name: Trigger NuGet Release
uses: actions/github-script@v8
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'nuget-release.yml',
ref: 'master',
inputs: {
tag_name: '${{ needs.release-please.outputs.tag_name }}'
}
});
- name: Trigger Docker Release
uses: actions/github-script@v8
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'docker-release.yml',
ref: 'master',
inputs: {
tag_name: '${{ needs.release-please.outputs.tag_name }}'
}
});