Skip to content

Json upload mode (#21) #13

Json upload mode (#21)

Json upload mode (#21) #13

Workflow file for this run

name: Go Release
on:
push:
tags:
- 'v*'
permissions:
contents: write # Required for creating releases
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history and tags
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build Windows
env:
GOOS: windows
GOARCH: amd64
run: |
chmod +x ./scripts/build.sh
./scripts/build.sh iot-ephemeral-value-store-server-windows-am64.exe
- name: Build Linux
env:
GOOS: linux
GOARCH: amd64
run: |
chmod +x ./scripts/build.sh
./scripts/build.sh iot-ephemeral-value-store-server-linux-am64.bin
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
iot-ephemeral-value-store-server-windows-am64.exe
iot-ephemeral-value-store-server-linux-am64.bin