Update action-gh-release to v2

This commit is contained in:
Peter Dimov 2024-05-29 22:05:48 +03:00
parent e1dc0c0278
commit 9ee17d5bad

View file

@ -27,7 +27,7 @@ jobs:
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
- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-cmake.tar.gz
@ -59,7 +59,7 @@ jobs:
7z a ${{ github.ref_name }}-cmake.7z ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.7z > ${{ github.ref_name }}-cmake.7z.txt
- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-cmake.zip
@ -99,7 +99,7 @@ jobs:
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
- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-b2-nodocs.tar.gz
@ -140,7 +140,7 @@ jobs:
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
- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-b2-nodocs.zip