From 457c56526600f31e2d193d68714910c9587aa234 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 11 Feb 2021 16:14:28 -0800 Subject: [PATCH] Lowercase the OS in release asset filenames --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2e737c0..73d09fef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,9 @@ jobs: strategy: fail-fast: true matrix: - os: [macos-latest, ubuntu-latest] - toolchain: [stable] + os: + - macos-latest + - ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v2 @@ -48,7 +49,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.toolchain }} + toolchain: stable profile: minimal - name: Install emscripten @@ -84,7 +85,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') run: | cp target/release/tree-sitter . - gzip --keep --suffix "-${{ runner.os }}-x64.gz" tree-sitter + gzip --suffix "-${OS,,}-x64.gz" tree-sitter + env: + OS: ${{ runner.os }} - name: Release uses: softprops/action-gh-release@v1