Skip to content

Commit

Permalink
refactor: ダウンロードしたエンジンのrunの権限を変更する部分のリファクタリング (#2467)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba authored Jan 3, 2025
1 parent f94463c commit 438d8dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/actions/download-engine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ runs:
mkdir -p $DEST
mv $TEMPDIR/tmp-extract/$TARGET/* $DEST
# 実行ファイルのパーミッションを変更
if [ "${{ runner.os }}" = "Windows" ]; then
chmod +x $DEST/run.exe
else
chmod +x $DEST/run
fi
echo "::group::ll $DEST"
ls -al $DEST
echo "::endgroup::"
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ jobs:

- name: Setup
run: |
# run.exe
chmod +x ${{ steps.download-engine.outputs.run_path }}
# .env
sed -i -e 's|"074fc39e-678b-4c13-8916-ffca8d505d1d"|"208cf94d-43d2-4cf5-abc0-9783cac36d29"|' .env.test
sed -i -e 's|"../voicevox_engine/run.exe"|"${{ steps.download-engine.outputs.run_path }}"|' .env.test
Expand Down

0 comments on commit 438d8dc

Please sign in to comment.