Skip to content

Commit

Permalink
improve release
Browse files Browse the repository at this point in the history
  • Loading branch information
jcodybaker committed Jan 28, 2024
1 parent 2ebd62c commit d7bc424
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches: [ "main" ]
tags:
- v*
- "v*.*.*"
pull_request:
branches: [ "main" ]

Expand All @@ -16,20 +16,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'

- name: Build AMD64
- name: Build Linux AMD64
run: GOOS=linux GOARCH=amd64 go build -o shellyctl_linux_amd64

- name: Build AMD64
- name: Build Linux ARM64
run: GOOS=linux GOARCH=arm64 go build -o shellyctl_linux_arm64

- name: Build Windows
- name: Build Windows AMD64
run: GOOS=windows GOARCH=amd64 go build -o shellyctl_windows_arm64

- name: Test
Expand Down

0 comments on commit d7bc424

Please sign in to comment.