From 9530a130cde57f4a6dd21926df8b853fdeef2d76 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+BiSaXa@users.noreply.github.com> Date: Sun, 28 Aug 2022 10:39:09 +0300 Subject: Update CI.yml --- .github/workflows/CI.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to '.github/workflows/CI.yml') diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 04d24fa..47d3d1c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,8 +12,9 @@ on: branches: [ "main" ] jobs: - build: - runs-on: ubuntu-latest + build-windows: + name: Windows Build + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 @@ -22,6 +23,18 @@ jobs: with: go-version: 1.18 architecture: amd64 - - name: Build run: env GOOS=windows GOARCH=amd64 go build . + build-linux: + name: Linux Build + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + + - name: Setup Go environment + uses: actions/setup-go@v3.3.0 + with: + go-version: 1.18 + architecture: amd64 + - name: Build + run: env GOOS=linux GOARCH=amd64 go build . -- cgit v1.2.3