gotelem/.github/workflows/build-openmct.yml

34 lines
787 B
YAML
Raw Normal View History

2024-03-04 05:29:50 +00:00
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
2024-03-04 05:33:48 +00:00
- 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
2024-03-04 05:29:50 +00:00
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}}'