mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
Save build checksums in file names
This commit is contained in:
parent
84c9a7cfdb
commit
9d8a70c167
35
.github/workflows/build.yml
vendored
35
.github/workflows/build.yml
vendored
@ -143,11 +143,12 @@ jobs:
|
|||||||
asset_path: ${{ env.BUNDLE }}.tar.xz
|
asset_path: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_name: ${{ env.BUNDLE }}.tar.xz
|
asset_name: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
- run: openssl sha256 out/Release/naive >../${{ env.BUNDLE }}.sha256sum.txt
|
- run: openssl sha256 out/Release/naive >sha256sum.txt
|
||||||
|
- run: echo "SHA256SUM=$(cut -d' ' -f2 sha256sum.txt)" >>$GITHUB_ENV
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sha256sums
|
name: ${{ github.job }}-${{ matrix.arch }}-sha256 ${{ env.SHA256SUM }}
|
||||||
path: ${{ env.BUNDLE }}.sha256sum.txt
|
path: src/sha256sum.txt
|
||||||
android:
|
android:
|
||||||
needs: cache-toolchains-posix
|
needs: cache-toolchains-posix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -212,11 +213,12 @@ jobs:
|
|||||||
asset_path: ${{ env.BUNDLE }}.tar.xz
|
asset_path: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_name: ${{ env.BUNDLE }}.tar.xz
|
asset_name: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
- run: openssl sha256 out/Release/naive >../${{ env.BUNDLE }}.sha256sum.txt
|
- run: openssl sha256 out/Release/naive >sha256sum.txt
|
||||||
|
- run: echo "SHA256SUM=$(cut -d' ' -f2 sha256sum.txt)" >>$GITHUB_ENV
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sha256sums
|
name: ${{ github.job }}-${{ matrix.arch }}-sha256 ${{ env.SHA256SUM }}
|
||||||
path: ${{ env.BUNDLE }}.sha256sum.txt
|
path: src/sha256sum.txt
|
||||||
win:
|
win:
|
||||||
needs: cache-toolchains-win
|
needs: cache-toolchains-win
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
@ -276,11 +278,12 @@ jobs:
|
|||||||
asset_path: ${{ env.BUNDLE }}.zip
|
asset_path: ${{ env.BUNDLE }}.zip
|
||||||
asset_name: ${{ env.BUNDLE }}.zip
|
asset_name: ${{ env.BUNDLE }}.zip
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
- run: openssl sha256 out/Release/naive.exe >../${{ env.BUNDLE }}.sha256sum.txt
|
- run: openssl sha256 out/Release/naive.exe >sha256sum.txt
|
||||||
|
- run: echo "SHA256SUM=$(cut -d' ' -f2 sha256sum.txt)" >>$GITHUB_ENV
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sha256sums
|
name: ${{ github.job }}-${{ matrix.arch }}-sha256 ${{ env.SHA256SUM }}
|
||||||
path: ${{ env.BUNDLE }}.sha256sum.txt
|
path: src/sha256sum.txt
|
||||||
mac:
|
mac:
|
||||||
needs: cache-toolchains-mac
|
needs: cache-toolchains-mac
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -329,11 +332,12 @@ jobs:
|
|||||||
asset_path: ${{ env.BUNDLE }}.tar.xz
|
asset_path: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_name: ${{ env.BUNDLE }}.tar.xz
|
asset_name: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
- run: openssl sha256 out/Release/naive >../${{ env.BUNDLE }}.sha256sum.txt
|
- run: openssl sha256 out/Release/naive >sha256sum.txt
|
||||||
|
- run: echo "SHA256SUM=$(cut -d' ' -f2 sha256sum.txt)" >>$GITHUB_ENV
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sha256sums
|
name: ${{ github.job }}-${{ matrix.arch }}-sha256 ${{ env.SHA256SUM }}
|
||||||
path: ${{ env.BUNDLE }}.sha256sum.txt
|
path: src/sha256sum.txt
|
||||||
openwrt:
|
openwrt:
|
||||||
needs: cache-toolchains-posix
|
needs: cache-toolchains-posix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -453,8 +457,9 @@ jobs:
|
|||||||
asset_path: ${{ env.BUNDLE }}.tar.xz
|
asset_path: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_name: ${{ env.BUNDLE }}.tar.xz
|
asset_name: ${{ env.BUNDLE }}.tar.xz
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
- run: openssl sha256 out/Release/naive >../${{ env.BUNDLE }}.sha256sum.txt
|
- run: openssl sha256 out/Release/naive >sha256sum.txt
|
||||||
|
- run: echo "SHA256SUM=$(cut -d' ' -f2 sha256sum.txt)" >>$GITHUB_ENV
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sha256sums
|
name: ${{ github.job }}-${{ matrix.arch }}-sha256 ${{ env.SHA256SUM }}
|
||||||
path: ${{ env.BUNDLE }}.sha256sum.txt
|
path: src/sha256sum.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user