Skip to content

Update release.yml

Update release.yml #2

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
env:
GOARCH: loong64
GOOS: linux
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: go build -o release/native/drone-runner-exec
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: release/native/drone-runner-exec