Skip to content

Commit

Permalink
Add extra workflow for releases that can be manually triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Aug 10, 2023
1 parent a823696 commit ecf8f17
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Generate GitHub Release
concurrency:
group: release-${{ github.head_ref }}
cancel-in-progress: true
on:
workflow_dispatch:
inputs:
release:
required: true
description: 'Tag to generate release from'
type: string

jobs:
generate-release-log:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Generate Release Log
uses: tremble/amazon.aws/.github/actions/ansible_release_log@main
#uses: ansible-collections/amazon.aws/.github/actions/ansible_release_log.yml@main
with:
release: ${{ inputs.release }}

perform-release:
permissions:
contents: write
runs-on: ubuntu-latest
needs:
- generate-release-log
steps:
- name: Generate Release
uses: tremble/amazon.aws/.github/actions/ansible_release_tag@main
#uses: ansible-collections/amazon.aws/.github/actions/ansible_release_tag.yml@main
with:
release: ${{ inputs.release }}
collection-name: amazon.aws

0 comments on commit ecf8f17

Please sign in to comment.