Skip to content

Commit

Permalink
Merge pull request #2 from vegaprotocol/improve-health-check
Browse files Browse the repository at this point in the history
feat: do not zip binaries in the release
  • Loading branch information
daniel1302 authored Dec 11, 2023
2 parents 3ef1417 + bd4766c commit 55fb9fb
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,14 @@ jobs:
ref: ${{ inputs.tag }}

- name: Build binary
run: go build -o dist/vega-assistant-${{ matrix.os }}-${{ matrix.arch }} ./main.go

- name: Bundle binary in archive
uses: thedoctor0/zip-release@master
with:
type: zip
directory: dist
filename: vega-assistant-${{ matrix.os }}-${{ matrix.arch }}.zip
run: go build -o dist/vega-health-check-${{ matrix.os }}-${{ matrix.arch }} ./main.go

- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*.zip
files: dist/*
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
prerelease: true
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 55fb9fb

Please sign in to comment.