Sfoglia il codice sorgente

修复工作流中目录列出路径不正确的问题

将 `ls -l` 命令的路径从 `${{ github.workspace }}/output` 修改为 `${{ github.workspace }}`,以确保正确列出工作目录内容。 此更改应用于两个相同步骤,避免因路径错误导致的执行失败。
SongZihuan 5 giorni fa
parent
commit
7c175c2a5b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      .github/workflows/go-tag-release.yml

+ 2 - 2
.github/workflows/go-tag-release.yml

@@ -90,7 +90,7 @@ jobs:
 
       - name: List source directory
         run: |
-          ls -l "${{ github.workspace }}/output"
+          ls -l "${{ github.workspace }}"
 
       - name: Build lionv1
         run: |
@@ -146,7 +146,7 @@ jobs:
 
       - name: List source directory
         run: |
-          ls -l "${{ github.workspace }}/output"
+          ls -l "${{ github.workspace }}"
 
       - name: Build lionv1
         run: |