Przeglądaj źródła

cicd: short github hash in dist name

jamesread 4 lat temu
rodzic
commit
462efe74c4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .github/workflows/build-snapshot.yml

+ 1 - 1
.github/workflows/build-snapshot.yml

@@ -34,7 +34,7 @@ jobs:
       - name: Archive binaries
       - name: Archive binaries
         uses: actions/upload-artifact@v3.1.0
         uses: actions/upload-artifact@v3.1.0
         with: 
         with: 
-          name: "OliveTin-snapshot-${{ github.ref_name }}-${{ github.short_ref }}-dist"
+        name: "OliveTin-snapshot-${{ github.ref_name }}-${{ GITHUB_SHA::7 }}-dist"
           path: dist/OliveTin*.*
           path: dist/OliveTin*.*
 
 
       - name: Archive integration tests
       - name: Archive integration tests