From 591d58481cef030ada1b637a0ed6eafede13bc3c Mon Sep 17 00:00:00 2001 From: Amit Zafran Date: Wed, 27 Mar 2024 13:10:37 +0200 Subject: [PATCH] ci: Do 2153 pr artifacts (#1339) * only run for PRs to main * using goreleaser * updated main to use go releaser * remove working dir * fetch-depth: 0 * adding goreleaser config files * added docker * added config to lavap and visor * added nfpms * added id and binary * update pipeline * --skip=validate * no need for both snapshot and skip * use: buildx * update config * rename workflow files * update job name * matrix strategy * running on macos as well * artifact names * fronJson * naming * windows-latest * update goreleasr files * update releaser files * remove packages * test releaser path * relative * cmd/lavad * remove checkout 0 and upload * remove redundant test * remove test * using goreleasre * added bot integ * put checkout first * pipeline name change * dockerilfe * comment docker creation * remove wip dockerfile * upload pr binaries * naming * artifactgs * 0 * chmod _x * remove files * remove linux specific * testing GOOS and GOARCH * remove redundent go version * update release * added release to goreleaser * added flags * if tag is empty * wrong condition --------- Co-authored-by: amitz --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fecf73da7..8068ef0597 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.event.inputs.release_tag == '' && github.event.inputs.release_tag || github.ref_name }} + ref: ${{ github.event.inputs.release_tag != '' && github.event.inputs.release_tag || github.ref_name }} - name: Fetch all tags run: |