Bläddra i källkod

[ci] fix GITHUB_OUTPUT (2)

Rudy Ges 2 år sedan
förälder
incheckning
7919bbc460
2 ändrade filer med 4 tillägg och 4 borttagningar
  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
         id: extract_branch
         shell: bash
-        run: echo "branch={echo ${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
+        run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
 
       - name: Build xmldoc
         run: |
@@ -960,7 +960,7 @@ jobs:
       - name: Extract branch name
         id: extract_branch
         shell: bash
-        run: echo "branch={echo ${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
+        run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
 
       - name: Upload binaries
         shell: bash

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

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