Skip to content

Commit

Permalink
chore: Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
layou233 authored Jan 19, 2024
1 parent 1087812 commit 1a9f47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ jobs:
run: mv ZBProxy-${{ matrix.goos }}-${{ matrix.goarch }}-${{ matrix.goarm }}${{ matrix.goamd64 }} ZBProxy-${{ matrix.goos }}-${{ matrix.goarch }}-${{ matrix.goarm }}${{ matrix.goamd64 }}.exe

- name: Upload a Non-Windows Build Artifact
uses: actions/upload-artifact@v4.0.0
uses: actions/upload-artifact@v4
if: ${{ env.GOOS != 'windows' }}
with:
name: ZBProxy-${{ matrix.goos }}-${{ matrix.goarch }}-${{ matrix.goarm }}${{ matrix.goamd64 }}
path: ZBProxy-${{ matrix.goos }}-${{ matrix.goarch }}-${{ matrix.goarm }}${{ matrix.goamd64 }}

- name: Upload a Windows Build Artifact
uses: actions/upload-artifact@v4.0.0
uses: actions/upload-artifact@v4
if: ${{ env.GOOS == 'windows' }}
with:
name: ZBProxy-${{ matrix.goos }}-${{ matrix.goarch }}-${{ matrix.goarm }}${{ matrix.goamd64 }}.exe
Expand Down

0 comments on commit 1a9f47d

Please sign in to comment.