From 7b89494705230cce4a702717959e265fc1027e95 Mon Sep 17 00:00:00 2001 From: Nemanja Nedic <93836814+Nemanja0x@users.noreply.github.com> Date: Tue, 28 Mar 2023 12:38:52 +0200 Subject: [PATCH] Revert "Evm-533 Notifications to slack about nightly builds (#1339)" (#1342) Revert evm-533 --- .github/workflows/build.yml | 9 +-------- .github/workflows/nightly.yml | 38 ----------------------------------- 2 files changed, 1 insertion(+), 46 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa65aa9315..10ef3db673 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,16 +3,11 @@ name: Build on: # yamllint disable-line rule:truthy workflow_dispatch: workflow_call: - # Map the workflow outputs to job outputs - outputs: - build_output: ${{ jobs.go_build.outputs.build_output }} jobs: go_build: name: Polygon Edge runs-on: ubuntu-latest - outputs: - build_output: ${{ steps.edge_build.outputs.build_output }} steps: - name: Checkout code uses: actions/checkout@v3 @@ -25,8 +20,7 @@ jobs: go-version: 1.18.x - name: Build Polygon Edge - - id: edge_build - run: echo "build_output=$(go build -tags netgo -ldflags="-s -w -linkmode external -extldflags "-static" -X \"github.com/0xPolygon/polygon-edge/versioning.Version=${GITHUB_REF_NAME}\" -X \"github.com/0xPolygon/polygon-edge/versioning.Commit=${GITHUB_SHA}\"" && tar -czvf polygon-edge.tar.gz polygon-edge)\n" >> $GITHUB_OUTPUT + run: go build -tags netgo -ldflags="-s -w -linkmode external -extldflags "-static" -X \"github.com/0xPolygon/polygon-edge/versioning.Version=${GITHUB_REF_NAME}\" -X \"github.com/0xPolygon/polygon-edge/versioning.Commit=${GITHUB_SHA}\"" && tar -czvf polygon-edge.tar.gz polygon-edge env: CC: gcc CXX: g++ @@ -47,7 +41,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - name: Setup Go environment uses: actions/setup-go@v3 with: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 11e71b7f35..6932902913 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,42 +27,4 @@ jobs: name: Polybft Property Tests uses: ./.github/workflows/property-polybft.yml needs: build - - slack-notification: - name: Notify Slack - uses: slackapi/slack-github-action@v1.23.0 - needs: [build, test, e2e, property] - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEPLOYMENT_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - with: - payload: | - { - "blocks": [ - { - "type": "header", - "text": { - "type": "plain_text", - "text": "Nightly Build Results" - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Build details: ${{ needs.build.outputs.build_output }}" - } - }, - { - "type": "divider" - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Workflow: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Results>" - } - }, - ] - } \ No newline at end of file