Don't rely on bash 4.0 to lowercase platform name on CI
This commit is contained in:
parent
86814ee4d7
commit
699af84259
1 changed files with 2 additions and 3 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -85,9 +85,8 @@ jobs:
|
|||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: |
|
||||
cp target/release/tree-sitter .
|
||||
gzip --suffix "-${OS,,}-x64.gz" tree-sitter
|
||||
env:
|
||||
OS: ${{ runner.os }}
|
||||
export platform=$(echo ${{ runner.os }} | awk '{print tolower($0)}')
|
||||
gzip --suffix "-${platform}-x64.gz" tree-sitter
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue