From 354c23dd28d9996dd2c553243cfbe3358b35ea80 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Thu, 17 Oct 2024 00:17:40 +0900 Subject: [PATCH] workflows: add lines between steps Signed-off-by: Ophestra Umiker --- .gitea/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 44ad40e..e6f72a2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -13,10 +13,12 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up go + + - name: Setup go uses: https://github.com/actions/setup-go@v5 with: - go-version: '>=1.20.1' + go-version: '>=1.23.0' + - name: Get dependencies run: >- sudo apt-get update && @@ -25,10 +27,12 @@ jobs: pkg-config libacl1-dev if: ${{ runner.os == 'Linux' }} + - name: Build for Linux run: >- sh -c "go build -v -ldflags '-s -w -X main.Version=${{ github.ref_name }}' -o bin/fortify && sha256sum --tag -b bin/fortify > bin/fortify.sha256" + - name: Release id: use-go-action uses: https://gitea.com/actions/release-action@main