Skip to content

Commit bff9c5a

Browse files
committed
ci(github-actions): update macOS build and artifact upload
- Update build command for macOS to produce lspvi-macos-amd64 binary - Remove Linux and Windows build steps from this workflow - Refactor artifact upload to be more generic and reusable
1 parent 9f8ff60 commit bff9c5a

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/macos.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: git submodule update --init --recursive
2828

2929
- name: Build
30-
run: go build -o lspvi-macos-amd64-linux
30+
run: go build -o lspvi-macos-amd64
3131

3232

3333

@@ -82,23 +82,13 @@ jobs:
8282

8383

8484

85-
- name: Upload Linux Artifact
85+
- name: Upload Artifact
8686
uses: actions/upload-release-asset@v1
8787
env:
8888
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
8989
with:
9090
upload_url: ${{ steps.get_upload_url.outputs.upload_url }}
91-
asset_path: ./lspvi-amd64-linux
92-
asset_name: lspvi-amd64-linux
91+
asset_path: ./lspvi-macos-amd64
92+
asset_name: lspvi-macos-amd64
9393
asset_content_type: application/octet-stream
9494

95-
96-
- name: Upload win64 Artifact
97-
uses: actions/upload-release-asset@v1
98-
env:
99-
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
100-
with:
101-
upload_url: ${{ steps.get_upload_url.outputs.upload_url }}
102-
asset_path: ./lspvi-window-x64
103-
asset_name: lspvi-window-x64
104-
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)