Skip to content

Commit

Permalink
fix: testing all workflows 1
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutiburman committed Sep 13, 2022
1 parent c6221f9 commit 4299feb
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,30 +137,30 @@ jobs:
# REPO_NAME: ${{ github.repository }}
# REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
# BRANCH_NAME: ${{steps.extract_branch.outputs.branch}}
platform-executables-release:
runs-on: ubuntu-latest
needs: [ release ]
env:
REPO_NAME: ${{ github.repository }}
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
strategy:
matrix:
executable_workflow: ['debian-executable-release.yml', 'macos-executable-release.yml', 'rpmbuild.yml', 'windows-executable-release.yml', 'apt-release.yml']
steps:
- name: Checkout cli repo
uses: actions/checkout@v2
- run: |
git pull
make install
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
- name: Invoke platform executable workflow
if: ${{needs.release.outputs.tag-name != ''}}
run: node .github/scripts/trigger-workflow.js
env:
WORKFLOW_NAME: ${{ matrix.executable_workflow }}
BRANCH_NAME: ${{steps.extract_branch.outputs.branch}}
# platform-executables-release:
# runs-on: ubuntu-latest
# needs: [ release ]
# env:
# REPO_NAME: ${{ github.repository }}
# REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
# strategy:
# matrix:
# executable_workflow: ['debian-executable-release.yml', 'macos-executable-release.yml', 'rpmbuild.yml', 'windows-executable-release.yml', 'apt-release.yml']
# steps:
# - name: Checkout cli repo
# uses: actions/checkout@v2
# - run: |
# git pull
# make install
# - name: Extract branch name
# id: extract_branch
# run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
# - name: Invoke platform executable workflow
# if: ${{needs.release.outputs.tag-name != ''}}
# run: node .github/scripts/trigger-workflow.js
# env:
# WORKFLOW_NAME: ${{ matrix.executable_workflow }}
# BRANCH_NAME: ${{steps.extract_branch.outputs.branch}}

# notify-complete-fail:
# if: ${{ failure() || cancelled() }}
Expand Down

0 comments on commit 4299feb

Please sign in to comment.