Skip to content

Commit

Permalink
Revert "add windows"
Browse files Browse the repository at this point in the history
This reverts commit 92f9066.
  • Loading branch information
mikhaillav committed Nov 10, 2023
1 parent c6ed10c commit a9861fe
Showing 1 changed file with 18 additions and 31 deletions.
49 changes: 18 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,23 @@
name: Build project

on:
push:
branches: ["main"]
push:
branches: ["main"]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Install dependencies
run: go get .
- name: Build
run: go build -o ./build/ .
- name: Upload assets for ubuntu-latest
if: ${{ matrix.os }} == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: TheStoneProxy Linux
path: build/
- name: Upload assets for windows-latest
if: ${{ matrix.os }} == 'windows-latest'
uses: actions/upload-artifact@v3
with:
name: TheStoneProxy Windows
path: build/


build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Install dependencies
run: go get .
- name: Build
run: go build .
- uses: actions/upload-artifact@v3
with:
name: The StoneProxy
path: TheStoneProxy

0 comments on commit a9861fe

Please sign in to comment.