Skip to content

Commit

Permalink
fix: code (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kensuke Yanai authored Jun 17, 2023
1 parent 23504f3 commit 46a5673
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ jobs:
go-version: "1.20"

- name: Go build for windows amd64
run: (cd api && GOOS=windows GOARCH=amd64 go build -v -o app_windows_amd64.exe ./...)
run: (cd api && GOOS=windows GOARCH=amd64 go build -v -o app_windows_amd64.exe ./main.go)

- name: Go build for windows arm
run: (cd api && GOOS=windows GOARCH=arm go build -v -o app_windows_arm.exe ./...)
run: (cd api && GOOS=windows GOARCH=arm go build -v -o app_windows_arm.exe ./main.go)

- name: Go build for darwin amd64
run: (cd api && GOOS=darwin GOARCH=amd64 go build -v -o app_darwin_amd64 ./...)
run: (cd api && GOOS=darwin GOARCH=amd64 go build -v -o app_darwin_amd64 ./main.go)

- name: Go build for darwin arm64
run: (cd api && GOOS=darwin GOARCH=arm64 go build -v -o app_darwin_arm64 ./...)
run: (cd api && GOOS=darwin GOARCH=arm64 go build -v -o app_darwin_arm64 ./main.go)

- name: Go build for linux amd64
run: (cd api && GOOS=linux GOARCH=amd64 go build -v -o app_linux_amd64 ./...)
run: (cd api && GOOS=linux GOARCH=amd64 go build -v -o app_linux_amd64 ./main.go)

- name: Go build for linux arm64
run: (cd api && GOOS=linux GOARCH=arm64 go build -v -o app_linux_arm64 ./...)
run: (cd api && GOOS=linux GOARCH=arm64 go build -v -o app_linux_arm64 ./main.go)

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion api/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package api
package main

import "fmt"

Expand Down

0 comments on commit 46a5673

Please sign in to comment.