Skip to content

Commit

Permalink
fix: Fixing the release issue (#313)
Browse files Browse the repository at this point in the history
* Fixing the release issue

* Update slack-notification.yml

* Update slack-notification.yml
  • Loading branch information
ravali-rimmalapudi authored Oct 22, 2021
1 parent 943c3d6 commit b893be6
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/slack-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,29 @@ on:
types:
- completed
jobs:
get-branch:
name: Get Current Branch Name
runs-on: ubuntu-latest
outputs:
branch: ${{ steps.extract_branch.outputs.branch }}
if: ${{ github.event.workflow_run.conclusion != 'failure' }}
steps:
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
wait-for-releases:
name: Wait for Docker, Homebrew, RPM and Platform executables Release
runs-on: ubuntu-latest
needs: [ get-branch ]
env:
INPUT_OWNER: twilio
INPUT_REPO: twilio-cli
INPUT_GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
INPUT_REF: ${{steps.extract_branch.outputs.branch}}
INPUT_REF: ${{ needs.get-branch.outputs.branch }}
INPUT_WAITING_INTERVAL: 10
INPUT_PROPAGATE_FAILURE: true
INPUT_TRIGGER_WORKFLOW: false
name: Wait for Docker, Homebrew, RPM and Platform executables Release
runs-on: ubuntu-latest
steps:
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
- name: Checkout cli repo
uses: actions/checkout@v2
- name: Wait for Docker Release
Expand Down

0 comments on commit b893be6

Please sign in to comment.