Browse Source

cicd: short github hash in dist name

jamesread 3 năm trước cách đây
mục cha
commit
462efe74c4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .github/workflows/build-snapshot.yml

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

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