From 545cba0aa2fe593a737841734a44810c0e9f8b84 Mon Sep 17 00:00:00 2001 From: james-prysm Date: Tue, 5 Dec 2023 09:24:16 -0600 Subject: [PATCH] more cleanup on workflows --- .github/workflows/web-ui-automation.yaml | 44 +----------------------- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/.github/workflows/web-ui-automation.yaml b/.github/workflows/web-ui-automation.yaml index 5864fa63..ecfe339c 100644 --- a/.github/workflows/web-ui-automation.yaml +++ b/.github/workflows/web-ui-automation.yaml @@ -79,46 +79,4 @@ jobs: outputs: new_sha: ${{ steps.new_shasum.outputs.SHA }} - old_tag: ${{ steps.previous_version.outputs.TAG_NAME }} - - -# Job for Prysm WORKSPACE modification and pull request - prysm_pull_request: - needs: build_and_release - runs-on: ubuntu-latest - - steps: - - name: Checkout tools repo - uses: actions/checkout@v3 - with: - repository: prysmaticlabs/prysm - path: prysm_repo - ref: develop - - - name: Git pull - run: cd prysm_repo && git pull - - - name: Get Current Tag - id: current_version - run: cd prysm_repo && echo ::set-output name=TAG::${GITHUB_REF#refs/*/} - - - name: Replace Tag - uses: jacobtomlinson/gha-find-replace@v2 - with: - find: ${{ needs.build_and_release.outputs.old_tag }} - replace: ${{ steps.current_version.outputs.TAG }} - include: "prysm_repo/WORKSPACE" - - - name: Get the previous shasum - run: wget https://github.com/prysmaticlabs/prysm-web-ui/releases/download/${{ needs.build_and_release.outputs.old_tag }}/prysm-web-ui.tar.gz.sha256sum - - - name: Get previous release shasum value - id: previous_shasum - run: echo "::set-output name=SHASUM::$(cat prysm-web-ui.tar.gz.sha256sum | awk '{print $1}')" - - - name: Replace SHA - uses: jacobtomlinson/gha-find-replace@v2 - with: - find: ${{ steps.previous_shasum.outputs.SHASUM }} - replace: ${{ needs.build_and_release.outputs.new_sha }} - include: "prysm_repo/WORKSPACE" \ No newline at end of file + old_tag: ${{ steps.previous_version.outputs.TAG_NAME }} \ No newline at end of file