gotelem/.github/workflows/build-openmct.yml
saji 648f2183c2
All checks were successful
Go / build (1.21) (push) Successful in 1m16s
Go / build (1.22) (push) Successful in 1m15s
release / release-openmct (push) Successful in 2m5s
added node install/build
2024-03-03 23:33:48 -06:00

34 lines
787 B
YAML

name: release
on:
push:
tags:
- '*'
jobs:
release-openmct:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Set up Node
uses: actions/setup-node@v4
- name: Install OpenMCT
run: npm install
working-directory: web/
- name: Build OpenMCT bundle
run: npm run build
working-directory: web/
- name: Build Gotelem
run: go build -v -tags openmct ./cmd/gotelem
- name: Use Go Action
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
gotelem
api_key: '${{secrets.RELEASE_TOKEN}}'