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 }}