Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2023
1 parent 148af7e commit ea8f347
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload-release-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
rm -rf kaldi/src/${{ matrix.target }}/*.cc kaldi/src/${{ matrix.target }}/*.o kaldi/src/${{ matrix.target }}/Makefile kaldi/src/${{ matrix.target }}/.depend.mk
tar -zcvf kaldi-${{ matrix.kaldi }}-${{ matrix.target }}-linux-x64-libc2_17.tar.gz kaldi/src/${{ matrix.target }}
- name: Upload Release Asset
id: upload-release-asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: kaldi-${{ matrix.kaldi }}-${{ matrix.target }}-linux-x64-libc2_17.tar.gz
asset_name: kaldi-${{ matrix.kaldi }}-${{ matrix.target }}-linux-x64-libc2_17.tar.gz
asset_content_type: application/gzip
7 changes: 3 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ git_hash=$2
git remote add origin https://github.com/kaldi-asr/kaldi
git fetch origin ${git_hash}
git reset --hard FETCH_HEAD

(
set -eu -o pipefail
cd tools
echo "=== build sctk ==="
bash ../../install_sctk.sh
echo "=== build sph2pie ==="
bash ../../install_sph2pipe.sh
bash ../../download_openfst.sh
bash ../../download_openfst.sh

)

Expand All @@ -38,7 +38,7 @@ git_hash=$2

cd tools
./extras/check_dependencies.sh
#
#
if "${build_openblas}"; then
echo "=== install openblas ==="
extras/install_openblas.sh
Expand Down Expand Up @@ -67,4 +67,3 @@ git_hash=$2
)

)

0 comments on commit ea8f347

Please sign in to comment.