Skip to content

Commit

Permalink
add bool variable to auto-release (erigontech#11290)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Jul 23, 2024
1 parent e1bd4d2 commit 6892e4e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ on:
# to be used by fork patch-releases ^^
- 'v*.*.*-*'
workflow_dispatch:
inputs:
publish_artifacts:
description: 'Publish Artifacts (not dry-run)'
required: true
type: boolean

jobs:
goreleaser:
Expand Down Expand Up @@ -59,13 +54,9 @@ jobs:

- run: echo ${{ steps.prepare.outputs.tag_name }}

- name: Release publish_artifacts=${{ inputs.publish_artifacts }}
- name: Release
run: |
if ${{ inputs.publish_artifacts }}; then
make release
else
make release-dry-run
fi
make release
docker images
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6892e4e

Please sign in to comment.