diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 46e4897..6c130ae 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -59,10 +59,10 @@ jobs: - name: Prepare binary if: startsWith(github.ref, 'refs/tags/') - shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }} + shell: ${{ github.runner.os == 'Windows' && 'pwsh' || 'bash' }} run: | cd target/${{ matrix.target }}/release - ${{ runner.os == 'Windows' && '7z a ../../../${{ matrix.artifact_name }}.zip ${{ env.BINARY_NAME }}.exe' || 'tar czf ../../../${{ matrix.artifact_name }}.tar.gz ${{ env.BINARY_NAME }}' }} + ${{ github.runner.os == 'Windows' && '7z a ../../../${{ matrix.artifact_name }}.zip ${{ env.BINARY_NAME }}.exe' || 'tar czf ../../../${{ matrix.artifact_name }}.tar.gz ${{ env.BINARY_NAME }}' }} - name: Upload artifact if: startsWith(github.ref, 'refs/tags/')