chore(cd): Fix the way generating the checksum
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
6521010a8b
commit
cf9f3d9d0a
1 changed files with 4 additions and 4 deletions
|
@ -58,8 +58,8 @@ jobs:
|
||||||
cp target/${{ matrix.target }}/release/$BIN_NAME.exe release-dir/$APP_NAME.exe || true
|
cp target/${{ matrix.target }}/release/$BIN_NAME.exe release-dir/$APP_NAME.exe || true
|
||||||
cp target/${{ matrix.target }}/release/$BIN_NAME release-dir/$APP_NAME || true
|
cp target/${{ matrix.target }}/release/$BIN_NAME release-dir/$APP_NAME || true
|
||||||
cd release-dir
|
cd release-dir
|
||||||
sha256sum $APP_NAME > $APP_NAME.sha256 || true
|
test -f $APP_NAME && sha256sum $APP_NAME > $APP_NAME.sha256 || true
|
||||||
sha256sum $APP_NAME.exe > $APP_NAME.exe.sha256 || true
|
test -f $APP_NAME.exe && sha256sum $APP_NAME.exe > $APP_NAME.exe.sha256 || true
|
||||||
|
|
||||||
- name: Build the asset (update-notify)
|
- name: Build the asset (update-notify)
|
||||||
run: |
|
run: |
|
||||||
|
@ -68,8 +68,8 @@ jobs:
|
||||||
cp target/${{ matrix.target }}/release/$BIN_NAME.exe release-dir/$APP_NAME.exe || true
|
cp target/${{ matrix.target }}/release/$BIN_NAME.exe release-dir/$APP_NAME.exe || true
|
||||||
cp target/${{ matrix.target }}/release/$BIN_NAME release-dir/$APP_NAME || true
|
cp target/${{ matrix.target }}/release/$BIN_NAME release-dir/$APP_NAME || true
|
||||||
cd release-dir
|
cd release-dir
|
||||||
sha256sum $APP_NAME > $APP_NAME.sha256 || true
|
test -f $APP_NAME && sha256sum $APP_NAME > $APP_NAME.sha256 || true
|
||||||
sha256sum $APP_NAME.exe > $APP_NAME.exe.sha256 || true
|
test -f $APP_NAME.exe && sha256sum $APP_NAME.exe > $APP_NAME.exe.sha256 || true
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue