removed workflow_dispatch
This commit is contained in:
parent
414be306e6
commit
bbc8396fad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user