فهرست منبع

Update release-cmake.yml

Peter Dimov 1 ماه پیش
والد
کامیت
25a8895fcd
1فایلهای تغییر یافته به همراه11 افزوده شده و 8 حذف شده
  1. 11 8
      .github/workflows/release-cmake.yml

+ 11 - 8
.github/workflows/release-cmake.yml

@@ -5,12 +5,15 @@ on:
     tags:
     tags:
       - boost-*
       - boost-*
 
 
+permissions:
+  contents: write
+
 jobs:
 jobs:
   release-posix-cmake:
   release-posix-cmake:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
     steps:
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
         with:
         with:
           path: ${{ github.ref_name }}
           path: ${{ github.ref_name }}
           submodules: true
           submodules: true
@@ -27,7 +30,7 @@ jobs:
           tar -cJf ${{ github.ref_name }}-cmake.tar.xz ${{ github.ref_name }}
           tar -cJf ${{ github.ref_name }}-cmake.tar.xz ${{ github.ref_name }}
           sha256sum ${{ github.ref_name }}-cmake.tar.xz > ${{ github.ref_name }}-cmake.tar.xz.txt
           sha256sum ${{ github.ref_name }}-cmake.tar.xz > ${{ github.ref_name }}-cmake.tar.xz.txt
 
 
-      - uses: softprops/action-gh-release@v2
+      - uses: softprops/action-gh-release@v3
         with:
         with:
           files: |
           files: |
             ${{ github.ref_name }}-cmake.tar.gz
             ${{ github.ref_name }}-cmake.tar.gz
@@ -41,7 +44,7 @@ jobs:
     needs: release-posix-cmake
     needs: release-posix-cmake
 
 
     steps:
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
         with:
         with:
           path: ${{ github.ref_name }}
           path: ${{ github.ref_name }}
           submodules: true
           submodules: true
@@ -59,7 +62,7 @@ jobs:
           7z a ${{ github.ref_name }}-cmake.7z ${{ github.ref_name }}
           7z a ${{ github.ref_name }}-cmake.7z ${{ github.ref_name }}
           sha256sum ${{ github.ref_name }}-cmake.7z > ${{ github.ref_name }}-cmake.7z.txt
           sha256sum ${{ github.ref_name }}-cmake.7z > ${{ github.ref_name }}-cmake.7z.txt
 
 
-      - uses: softprops/action-gh-release@v2
+      - uses: softprops/action-gh-release@v3
         with:
         with:
           files: |
           files: |
             ${{ github.ref_name }}-cmake.zip
             ${{ github.ref_name }}-cmake.zip
@@ -73,7 +76,7 @@ jobs:
     needs: release-windows-cmake
     needs: release-windows-cmake
 
 
     steps:
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
         with:
         with:
           path: ${{ github.ref_name }}
           path: ${{ github.ref_name }}
           submodules: true
           submodules: true
@@ -99,7 +102,7 @@ jobs:
           tar -cJf ${{ github.ref_name }}-b2-nodocs.tar.xz ${{ github.ref_name }}
           tar -cJf ${{ github.ref_name }}-b2-nodocs.tar.xz ${{ github.ref_name }}
           sha256sum ${{ github.ref_name }}-b2-nodocs.tar.xz > ${{ github.ref_name }}-b2-nodocs.tar.xz.txt
           sha256sum ${{ github.ref_name }}-b2-nodocs.tar.xz > ${{ github.ref_name }}-b2-nodocs.tar.xz.txt
 
 
-      - uses: softprops/action-gh-release@v2
+      - uses: softprops/action-gh-release@v3
         with:
         with:
           files: |
           files: |
             ${{ github.ref_name }}-b2-nodocs.tar.gz
             ${{ github.ref_name }}-b2-nodocs.tar.gz
@@ -113,7 +116,7 @@ jobs:
     needs: release-posix-b2-nodocs
     needs: release-posix-b2-nodocs
 
 
     steps:
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
         with:
         with:
           path: ${{ github.ref_name }}
           path: ${{ github.ref_name }}
           submodules: true
           submodules: true
@@ -140,7 +143,7 @@ jobs:
           7z a ${{ github.ref_name }}-b2-nodocs.7z ${{ github.ref_name }}
           7z a ${{ github.ref_name }}-b2-nodocs.7z ${{ github.ref_name }}
           sha256sum ${{ github.ref_name }}-b2-nodocs.7z > ${{ github.ref_name }}-b2-nodocs.7z.txt
           sha256sum ${{ github.ref_name }}-b2-nodocs.7z > ${{ github.ref_name }}-b2-nodocs.7z.txt
 
 
-      - uses: softprops/action-gh-release@v2
+      - uses: softprops/action-gh-release@v3
         with:
         with:
           files: |
           files: |
             ${{ github.ref_name }}-b2-nodocs.zip
             ${{ github.ref_name }}-b2-nodocs.zip

粤ICP备19079148号