瀏覽代碼

[ci] fix GITHUB_OUTPUT (2)

Rudy Ges 2 年之前
父節點
當前提交
7919bbc460
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      .github/workflows/main.yml
  2. 2 2
      extra/github-actions/workflows/main.yml

+ 2 - 2
.github/workflows/main.yml

@@ -327,7 +327,7 @@ jobs:
       - name: Extract branch name
       - name: Extract branch name
         id: extract_branch
         id: extract_branch
         shell: bash
         shell: bash
-        run: echo "branch={echo ${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
+        run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
 
 
       - name: Build xmldoc
       - name: Build xmldoc
         run: |
         run: |
@@ -960,7 +960,7 @@ jobs:
       - name: Extract branch name
       - name: Extract branch name
         id: extract_branch
         id: extract_branch
         shell: bash
         shell: bash
-        run: echo "branch={echo ${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
+        run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
 
 
       - name: Upload binaries
       - name: Upload binaries
         shell: bash
         shell: bash

+ 2 - 2
extra/github-actions/workflows/main.yml

@@ -103,7 +103,7 @@ jobs:
       - name: Extract branch name
       - name: Extract branch name
         id: extract_branch
         id: extract_branch
         shell: bash
         shell: bash
-        run: echo "branch={echo ${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
+        run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
 
 
       - name: Build xmldoc
       - name: Build xmldoc
         run: |
         run: |
@@ -433,7 +433,7 @@ jobs:
       - name: Extract branch name
       - name: Extract branch name
         id: extract_branch
         id: extract_branch
         shell: bash
         shell: bash
-        run: echo "branch={echo ${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
+        run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
 
 
       - name: Upload binaries
       - name: Upload binaries
         shell: bash
         shell: bash