🐛 Don't spam debug logs unless HYPRLS_DEBUG is set #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release pre-built binaries for new tag | |
on: | |
push: | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v5 | |
- name: go-setup | |
uses: actions/setup-go@v6 | |
with: { go-version: 1.25.1 } | |
- name: go-build | |
run: go build -o hyprls cmd/hyprls/main.go | |
- name: zip-artifacts | |
run: zip hyprls.zip hyprls | |
- name: deploy-binaries | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ github.ref_name }} | |
files: hyprls.zip | |
token: ${{secrets.GITHUB_TOKEN}} |