From 32e0d3c360de7d922f133961ec2bb6a145ab7d40 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Sun, 1 Sep 2024 14:57:02 +0200 Subject: [PATCH] test: upload artifact as comparison --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 865aae8..668f45a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,11 @@ jobs: - name: Build project run: go build -o build/ -v ./... + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + path: build/ProxySwitcher.exe + - name: Create release id: create_release uses: actions/create-release@v1 @@ -43,7 +48,7 @@ jobs: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - - name: Upload executable + - name: Upload release asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}