Skip to content

Commit

Permalink
Add workflow to create release
Browse files Browse the repository at this point in the history
  • Loading branch information
jepio committed Sep 18, 2024
1 parent a8c7804 commit 8fea09c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/create-release-on-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Create Release on Tag

on:
push:
tags:
- 'v*.*'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21

- name: Build project
run: ./build-all.sh

- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref }}
draft: true
prerelease: false
files: |
bin/*

0 comments on commit 8fea09c

Please sign in to comment.