diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f08660c..ad5083b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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