Skip to content

Commit

Permalink
UPDATED TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Don Johnson committed May 13, 2024
1 parent 67f5247 commit 26810b7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ on:

jobs:
build:
name: Build and Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.20' # Make sure this matches the Go version you're using locally
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:
Expand All @@ -27,4 +31,4 @@ jobs:
jsonviz-linux-amd64
jsonviz-darwin-amd64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.R_TOKEN }}

0 comments on commit 26810b7

Please sign in to comment.