Skip to content

Commit

Permalink
ci(github-actions): update macOS build and artifact upload
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
wellcomez committed Nov 1, 2024
1 parent 9f8ff60 commit bff9c5a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: git submodule update --init --recursive

- name: Build
run: go build -o lspvi-macos-amd64-linux
run: go build -o lspvi-macos-amd64



Expand Down Expand Up @@ -82,23 +82,13 @@ jobs:



- name: Upload Linux Artifact
- name: Upload Artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
with:
upload_url: ${{ steps.get_upload_url.outputs.upload_url }}
asset_path: ./lspvi-amd64-linux
asset_name: lspvi-amd64-linux
asset_path: ./lspvi-macos-amd64
asset_name: lspvi-macos-amd64
asset_content_type: application/octet-stream


- name: Upload win64 Artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
with:
upload_url: ${{ steps.get_upload_url.outputs.upload_url }}
asset_path: ./lspvi-window-x64
asset_name: lspvi-window-x64
asset_content_type: application/octet-stream

0 comments on commit bff9c5a

Please sign in to comment.