Skip to content

sample-wf の実行が失敗する #10

Description

@striderkein

What

(Line: 8, Col: 5): A sequence was not expected

Image
  • 原因: get-infosteps が同レベルにあるため
  • 修正内容:
jobs:
  get-info:
    runs-on: ubuntu-latest
-  steps:
-    - run: echo "ブランチ名は ${{ github.ref }}、リポジトリ名は ${{ github.repository }} です。"
-    - name: checkout repository
-      uses: actions/checkout@v4
-    - run: echo "リポジトリ ${{ github.repository }} がランナー上にクローンされました。"
-    - name: list files
-      run: |
-        ls ${{ github.workspace }}
+    steps:
+      - run: echo "ブランチ名は ${{ github.ref }}、リポジトリ名は ${{ github.repository }} です。"
+      - name: checkout repository
+        uses: actions/checkout@v4
+      - run: echo "リポジトリ ${{ github.repository }} がランナー上にクローンされました。"
+      - name: list files
+        run: |
+          ls ${{ github.workspace }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions