Permission denied (install.sh) when installing v0.1.72

オープン 初心者向け
#305 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, shell
領域
ci-cd, cli

調査の方向性

問題は、アクションがUbuntuランナー上で実行する install.sh にあります。リポジトリでそのモードを git ls-files -s install.sh で確認してください。100644 と表示される場合、実行ビットがコミットされていないことを意味します。100755 に設定してコミットし、issue の再現ワークフローが「Install GameCI CLI」ステップを通過し、指定された引数を実行することを確認してください。

索引モデルが issue の本文から書いたものです。

説明

bug

Bug description

The action fails at the "Install GameCI CLI" step on ubuntu-latest because install.sh is not executable.

How to reproduce

  1. Create a workflow with this job:
name: Repro

on: workflow_dispatch

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: game-ci/[email protected]
        with:
          args: build -v --engine unity --projectPath . --target-platform WebGL
  1. Run the Workflow
  2. The "Install GameCI CLI" step fails with:
/home/runner/work/_temp/....sh: line 21: /home/runner/work/_actions/game-ci/cli/v0.1.72/install.sh: Permission denied
Error: Process completed with exit code 126.
Image

Expected behavior

The action installs the CLI and runs the given args.

Additional details

  • Runner: ubuntu-latest
  • Action version: v0.1.72 (latest release)
  • I think install.sh may have been committed without the executable bit.
主要言語
TypeScript
スター
20
フォーク
11
平均マージ
5時間 28分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

game-ci/cli のほかの issue

game-ci/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。