Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hismailbulut/Neoray
Browse files Browse the repository at this point in the history
  • Loading branch information
hismailbulut committed Sep 2, 2022
2 parents 8a1e3ae + 66c16c2 commit 7cec8e3
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19

- name: Install tools
run: |
Expand All @@ -22,18 +22,24 @@ jobs:
- name: Generate
run: make generate

- name: Build amd64
- name: Build
env:
CGO_ENABLED: 1
GOOS: windows
GOARCH: amd64
run: make release EXECNAME=neoray-windows

- name: List
run: |
dir
dir bin
dir ..
- name: Upload binaries
uses: actions/upload-artifact@v2
if: success()
with:
name: windows-binaries
name: windows
path: |
bin/neoray-windows.exe
Expand All @@ -45,15 +51,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19

- name: Install tools
run: go install github.com/go-gl/glow@latest

- name: Generate
run: make generate

- name: Build amd64
- name: Build
env:
CGO_ENABLED: 1
GOOS: darwin
Expand All @@ -64,7 +70,7 @@ jobs:
uses: actions/upload-artifact@v2
if: success()
with:
name: macos-binaries
name: macos
path: |
bin/neoray-macos
Expand All @@ -76,7 +82,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19

- name: Set up required libs
run: |
Expand All @@ -89,7 +95,7 @@ jobs:
- name: Generate
run: make generate

- name: Build amd64
- name: Build
env:
CGO_ENABLED: 1
GOOS: linux
Expand All @@ -100,6 +106,6 @@ jobs:
uses: actions/upload-artifact@v2
if: success()
with:
name: linux-binaries
name: linux
path: |
bin/neoray-linux

0 comments on commit 7cec8e3

Please sign in to comment.