Skip to content

Commit 0aeea35

Browse files
committed
feat: ci: modify workflow to release artifact separately
1 parent bf57225 commit 0aeea35

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

.github/workflows/build-release.yml

+26-15
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,6 @@ jobs:
3939
path: |
4040
build/${{ matrix.goos }}-${{ matrix.goarch }}/weave
4141
42-
upload-to-weave-binaries:
43-
name: Upload to weave-binaries release
44-
needs: build
45-
runs-on: ubuntu-latest
46-
47-
steps:
48-
- name: Download binaries
49-
uses: actions/download-artifact@v3
50-
with:
51-
name: binaries
52-
5342
- name: Create a release in weave-binaries
5443
uses: softprops/action-gh-release@v2
5544
if: startsWith(github.ref, 'refs/tags/')
@@ -59,7 +48,29 @@ jobs:
5948
prerelease: true
6049
token: ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}
6150
files: |
62-
build/darwin-amd64/weave
63-
build/darwin-arm64/weave
64-
build/linux-amd64/weave
65-
build/linux-arm64/weave
51+
build/${{ matrix.goos }}-${{ matrix.goarch }}/weave
52+
53+
# upload-to-weave-binaries:
54+
# name: Upload to weave-binaries release
55+
# needs: build
56+
# runs-on: ubuntu-latest
57+
58+
# steps:
59+
# - name: Download binaries
60+
# uses: actions/download-artifact@v3
61+
# with:
62+
# name: binaries
63+
64+
# - name: Create a release in weave-binaries
65+
# uses: softprops/action-gh-release@v2
66+
# if: startsWith(github.ref, 'refs/tags/')
67+
# with:
68+
# repository: initia-labs/weave-binaries
69+
# draft: false
70+
# prerelease: true
71+
# token: ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}
72+
# files: |
73+
# build/darwin-amd64/weave
74+
# build/darwin-arm64/weave
75+
# build/linux-amd64/weave
76+
# build/linux-arm64/weave

0 commit comments

Comments
 (0)