Skip to content

remove http2

remove http2 #5

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.23.1
uses: actions/setup-go@v5
with:
go-version: 1.23.1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- run: echo "VERSION=`echo $(git describe --tags)`" >> $GITHUB_ENV
- name: Build Linux binary
run: go build -v -ldflags "-X 'github.com/juruen/rmapi/version.Version=${{ env.VERSION }}'" -o rmapi .
- name: Create tar
run: tar czvf rmapi-linuxx86-64.tar.gz rmapi
- name: Build MacOS binary
run: GOOS=darwin go build -v -o rmapi .
- name: Create zip
run: zip rmapi-macosx.zip rmapi
- name: Build Windows binary
run: GOOS=windows go build -v -o rmapi.exe .
- name: Create zip
run: zip rmapi-win64.zip rmapi.exe
- name: Release
uses: docker://softprops/action-gh-release
if: startsWith(github.ref, 'refs/tags/')
with:
files: rmapi-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}