Skip to content

Commit

Permalink
Add action to create draft release and build packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed Jun 6, 2024
1 parent af2038b commit 4cf096a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Upload release assets

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
- run: go test
- run: make package-all
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: 'true'
files: |
*linux.tar.gz
*win64.zip

0 comments on commit 4cf096a

Please sign in to comment.