From aaf45bca3df5c96bf7f23dc5b76bcb9fc304f332 Mon Sep 17 00:00:00 2001 From: Baipyrus <39416358+Baipyrus@users.noreply.github.com> Date: Sun, 1 Sep 2024 13:53:50 +0200 Subject: [PATCH] bugfix: simply specifying the build output --- .github/workflows/build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95adc39..f2c3169 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,28 +16,25 @@ env: jobs: build: runs-on: ubuntu-latest - + steps: - uses: actions/checkout@v4 - + - run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV - name: Set up Go uses: actions/setup-go@v4 with: go-version: "${{ env.GO_VERSION }}" - + - name: Install dependencies run: | go get . - name: Build project - run: go build -o ProxySwitcher.exe -v ./... + run: go build -o build/ -v ./... - - name: List contents - run: ls -laRI .git - - name: Upload executable uses: actions/upload-artifact@v4 with: name: ProxySwitcher Executable - path: '**/ProxySwitcher.exe' + path: build/ProxySwitcher.exe