Skip to content

Commit

Permalink
ci: printing release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 18, 2024
1 parent ba5b325 commit 1a8d9ff
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,15 @@ jobs:
repository: XeroAPI/xero-node
path: xero-node

- name: Send slack notification on failure
uses: ./xero-node/.github/actions/notify-slack
with:
heading_text: "Publish job has failed !"
alert_type: "alert"
job_status: "Failed"
XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}}
job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
button_type: "danger"
- name: print release number
run: echo "release number - ${{needs.publish.outputs.release_number}}"

# - name: Send slack notification on failure
# uses: ./xero-node/.github/actions/notify-slack
# with:
# heading_text: "Publish job has failed !"
# alert_type: "alert"
# job_status: "Failed"
# XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}}
# job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
# button_type: "danger"

0 comments on commit 1a8d9ff

Please sign in to comment.