Skip to content

Create a github release action #1

Create a github release action

Create a github release action #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Create the build tarball
run: make xz_release
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
This is the release for version ${{ github.ref }}.
files: |
./bin/xz/*
LICENSE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}