From 593a2d502095b7647e468d463bbf11029794a52b Mon Sep 17 00:00:00 2001 From: sburman Date: Tue, 13 Sep 2022 19:37:39 +0530 Subject: [PATCH] feat: test BREAKING CHANGES: blah blah --- .github/workflows/oclif-release.yml | 5 --- .github/workflows/release.yml | 48 ++++++++++++++--------------- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/.github/workflows/oclif-release.yml b/.github/workflows/oclif-release.yml index 080a38e7d..1151d222b 100644 --- a/.github/workflows/oclif-release.yml +++ b/.github/workflows/oclif-release.yml @@ -37,11 +37,6 @@ jobs: brew install makensis fi ${{ matrix.command_name }} - ls - cd ./dist - echo "Inside dist ---->" - ls -# for file in *; do mv "${file}" "${file/-${{ steps.get-sha.outputs.SHA_SHORT }}/}"; done - name: Configure AWS credentials from Test account uses: aws-actions/configure-aws-credentials@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 526db69e9..88876a01a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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() }}