From 37f64c53b6cbb0cf0a315d1b3ab977068de05d70 Mon Sep 17 00:00:00 2001 From: Aleksandr Litreev Date: Tue, 11 Jun 2024 02:09:58 +0300 Subject: [PATCH] Add GitHub Action for Build --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..632eebf --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22' + + - name: Build + run: go build + + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: socks5engine + path: socks5engine_linux_amd64