Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

v1.0.3 with arm64 build and extra debug logging run directory monitoring #17

v1.0.3 with arm64 build and extra debug logging run directory monitoring

v1.0.3 with arm64 build and extra debug logging run directory monitoring #17

Workflow file for this run

name: build g2i
on:
push:
tags:
- g2i-*
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.6
- name: Build
run: |
GOOS=linux GOARCH=amd64 go build -o g2i g2i.go
GOOS=linux GOARCH=arm64 go build -o g2i-arm64 g2i.go
- uses: olegtarasov/[email protected]
id: tagName
with:
tagRegex: "g2i-(.*)"
- uses: ncipollo/release-action@v1
with:
artifacts: "g2i,g2i-arm64"
body: "Release ${{ steps.tagName.outputs.tag }}"