Skip to content

feat: add HTTP status doe code when any error occurs #2

feat: add HTTP status doe code when any error occurs

feat: add HTTP status doe code when any error occurs #2

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