Skip to content

UPDATED TOKEN

UPDATED TOKEN #4

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.21.4' # Ensure this matches your local Go version
- name: Download Go modules
run: go mod download
- name: Build binaries for all platforms
run: |
GOOS=windows GOARCH=amd64 go build -o jsonviz-windows-amd64.exe
GOOS=linux GOARCH=amd64 go build -o jsonviz-linux-amd64
GOOS=darwin GOARCH=amd64 go build -o jsonviz-darwin-amd64
- name: Upload releases
uses: softprops/action-gh-release@v1
with:
files: |
jsonviz-windows-amd64.exe
jsonviz-linux-amd64
jsonviz-darwin-amd64
env:
GITHUB_TOKEN: ${{ secrets.R_TOKEN }}