test: upload artifact as comparison

This commit is contained in:
Baipyrus 2024-09-01 14:57:02 +02:00
parent 8db311cb99
commit 32e0d3c360

View File

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