From bbc8396fadc13d03d4fd1bbbf47e5590f448ffd4 Mon Sep 17 00:00:00 2001 From: G4MM4 <10293012-g4mm4io@users.noreply.gitlab.com> Date: Sun, 29 Sep 2024 14:11:46 -0500 Subject: [PATCH] removed workflow_dispatch --- .gitea/workflows/build-and-release.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.gitea/workflows/build-and-release.yml b/.gitea/workflows/build-and-release.yml index 539346d..0427e61 100644 --- a/.gitea/workflows/build-and-release.yml +++ b/.gitea/workflows/build-and-release.yml @@ -1,12 +1,6 @@ name: Build and Release Erigon Pulse on: - workflow_dispatch: - inputs: - version: - description: 'Version to build (e.g., v1.0.0, latest)' - required: true - default: 'latest' push: tags: - 'v*' @@ -23,9 +17,6 @@ jobs: with: go-version: '1.20' - - name: Set COMPILE_JOB_ID - run: echo "COMPILE_JOB_ID=${{ gitea.job_id }}" >> $GITEA_OUTPUT - - name: Build for Linux AMD64 env: CGO_CFLAGS: >- @@ -94,7 +85,6 @@ jobs: create_release: needs: docker_build - if: startsWith(gitea.ref, 'refs/tags/') runs-on: ubuntu-22.04 steps: - name: Download artifacts @@ -106,8 +96,6 @@ jobs: - name: Create Release run: | TAG_NAME=${{ gitea.ref_name }} - COMPILE_JOB_ID=$(cat $GITEA_OUTPUT | grep COMPILE_JOB_ID | cut -d'=' -f2) - ARTIFACT_URL="${{ gitea.server_url }}/${{ gitea.repository.full_name }}/actions/artifacts/$COMPILE_JOB_ID" curl -X POST "${{ gitea.api_url }}/repos/${{ gitea.repository.full_name }}/releases" \ -H "accept: application/json" \ -H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \ @@ -123,7 +111,6 @@ jobs: docker_tag_latest: needs: create_release - if: startsWith(gitea.ref, 'refs/tags/') runs-on: ubuntu-22.04 steps: - name: Login to Gitea Container Registry