mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-02-01 22:48:03 +00:00
Mk/release hotfix (#8633)
This commit is contained in:
18
.github/actions/publish-release/action.yml
vendored
18
.github/actions/publish-release/action.yml
vendored
@@ -35,6 +35,10 @@ inputs:
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: 'Print Inputs'
|
||||
shell: 'bash'
|
||||
run: 'echo "${{ toJSON(inputs) }}"'
|
||||
|
||||
- name: 'Configure Git User'
|
||||
working-directory: '${{ inputs.working-directory }}'
|
||||
shell: 'bash'
|
||||
@@ -142,17 +146,3 @@ runs:
|
||||
--notes-start-tag "${{ inputs.previous-tag }}" \
|
||||
--generate-notes
|
||||
shell: 'bash'
|
||||
|
||||
- name: 'Create Issue on Failure'
|
||||
if: |-
|
||||
${{ failure() }}
|
||||
env:
|
||||
GITHUB_TOKEN: '${{ inputs.github-token }}'
|
||||
RELEASE_TAG: '${{ inputs.release-tag }} || "N/A"'
|
||||
DETAILS_URL: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
run: |-
|
||||
gh issue create \
|
||||
--title "Release Failed for ${RELEASE_TAG} on $(date +'%Y-%m-%d')" \
|
||||
--body "The release workflow failed. See the full run for details: ${DETAILS_URL}" \
|
||||
--label "kind/bug,release-failure,priority/p0"
|
||||
shell: 'bash'
|
||||
|
||||
Reference in New Issue
Block a user