Skip to content

feat: create build-tangle-hornet action #1

feat: create build-tangle-hornet action

feat: create build-tangle-hornet action #1

name: Build Tangle Hornet API
on:
push:
tags:
- "v*"
permissions: write-all
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20.6'
- name: Build
run: CGO_ENABLED=0 go build -o bin/tangle-hornet-api main.go
- name: Automatic Releases
uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.BUILD_BUNDLE_TOKEN }}"
prerelease: false
files: |
bin/tangle-hornet-api