Explorar o código

Update build.yaml

CaCO3 %!s(int64=3) %!d(string=hai) anos
pai
achega
f335c17f0d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      .github/workflows/build.yaml

+ 5 - 0
.github/workflows/build.yaml

@@ -189,6 +189,11 @@ jobs:
           ./sd-card/html/version.txt
           ./sd-card/html/version.txt
         key: ${{ github.run_number }}
         key: ${{ github.run_number }}
 
 
+    - name: Set Variables
+      id: vars
+      run: |
+        echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
+
     - name: Prepare artifacts for release
     - name: Prepare artifacts for release
       run: |
       run: |
         mkdir -p firmware
         mkdir -p firmware