Skip to content

Commit

Permalink
Merge pull request #8 from tretinha/master
Browse files Browse the repository at this point in the history
Compress release file
  • Loading branch information
reneManqueros authored May 18, 2023
2 parents 24faeff + eba3313 commit ca85994
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: "version (vx.y.z)"
description: "version (x.y.z, _without_ a leading v)"
required: true
type: string

Expand All @@ -16,14 +16,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.18'
- run: make build
go-version: '1.20'
- run: |
make build
tar -czf moxxiproxy.tar.gz moxxiproxy
- name: upload bin to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: moxxiproxy
asset_name: ${{ inputs.version }}
tag: ${{ inputs.version }}
file: moxxiproxy.tar.gz
asset_name: moxxiproxy_${{ inputs.version }}_Linux_x86_64.tar.gz
tag: v${{ inputs.version }}
overwrite: true
body: "moxxiproxy release ${{ inputs.version }}."
body: "moxxiproxy release v${{ inputs.version }}."

0 comments on commit ca85994

Please sign in to comment.