test: specifying multiple files for release

This commit is contained in:
Baipyrus 2024-09-01 16:24:42 +02:00
parent de2bfbe621
commit 4527f12972

View File

@ -28,8 +28,7 @@ jobs:
go-version: "${{ env.GO_VERSION }}" go-version: "${{ env.GO_VERSION }}"
- name: Install dependencies - name: Install dependencies
run: | run: go get .
go get .
- name: Build project - name: Build project
run: go build -o build/ -v ./... run: go build -o build/ -v ./...
@ -52,7 +51,7 @@ jobs:
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: ProxySwitcher name: ProxySwitcher
path: '${{ github.workspace }}/artifacts/' path: artifacts/
- name: Create release - name: Create release
env: env:
@ -60,4 +59,4 @@ jobs:
run: | run: |
gh release create "${{ github.ref_name }}" \ gh release create "${{ github.ref_name }}" \
--title "Release ${{ github.ref_name }}" \ --title "Release ${{ github.ref_name }}" \
'${{ github.workspace }}/artifacts/' artifacts/*