@@ -130,7 +130,7 @@ jobs:
130130 if : contains(github.ref, 'refs/tags/v')
131131 run : |
132132 tar zcf "${{ steps.get_version.outputs.release_tarball }}" toxcore-macos-${{ matrix.arch }}
133- sha256sum "${{ steps.get_version.outputs.release_tarball }}" > "${{ steps.get_version.outputs.release_tarball }}.sha256"
133+ shasum -a 256 "${{ steps.get_version.outputs.release_tarball }}" > "${{ steps.get_version.outputs.release_tarball }}.sha256"
134134 - name : Upload to versioned release
135135 if : contains(github.ref, 'refs/tags/v')
136136 uses : ncipollo/release-action@v1
@@ -143,7 +143,7 @@ jobs:
143143 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
144144 run : |
145145 tar zcf toxcore-nightly-macos-${{ matrix.arch }}.tar.gz toxcore-macos-${{ matrix.arch }}
146- sha256sum toxcore-nightly-macos-${{ matrix.arch }}.tar.gz > toxcore-nightly-macos-${{ matrix.arch }}.tar.gz.sha256
146+ shasum -a 256 toxcore-nightly-macos-${{ matrix.arch }}.tar.gz > toxcore-nightly-macos-${{ matrix.arch }}.tar.gz.sha256
147147 - name : Upload to nightly release
148148 uses : ncipollo/release-action@v1
149149 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
@@ -190,7 +190,7 @@ jobs:
190190 if : contains(github.ref, 'refs/tags/v')
191191 run : |
192192 tar zcf "${{ steps.get_version.outputs.release_tarball }}" toxcore-${{ matrix.target }}
193- sha256sum "${{ steps.get_version.outputs.release_tarball }}" > "${{ steps.get_version.outputs.release_tarball }}.sha256"
193+ shasum -a 256 "${{ steps.get_version.outputs.release_tarball }}" > "${{ steps.get_version.outputs.release_tarball }}.sha256"
194194 - name : Upload to versioned release
195195 if : contains(github.ref, 'refs/tags/v')
196196 uses : ncipollo/release-action@v1
@@ -203,7 +203,7 @@ jobs:
203203 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
204204 run : |
205205 tar zcf toxcore-nightly-${{ matrix.target }}.tar.gz toxcore-${{ matrix.target }}
206- sha256sum toxcore-nightly-${{ matrix.target }}.tar.gz > toxcore-nightly-${{ matrix.target }}.tar.gz.sha256
206+ shasum -a 256 toxcore-nightly-${{ matrix.target }}.tar.gz > toxcore-nightly-${{ matrix.target }}.tar.gz.sha256
207207 - name : Upload to nightly release
208208 uses : ncipollo/release-action@v1
209209 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
@@ -257,7 +257,7 @@ jobs:
257257 if : contains(github.ref, 'refs/tags/v')
258258 run : |
259259 cp toxcore-xcframework.tar.gz "${{ steps.get_version.outputs.release_tarball }}"
260- sha256sum "${{ steps.get_version.outputs.release_tarball }}" > "${{ steps.get_version.outputs.release_tarball }}.sha256"
260+ shasum -a 256 "${{ steps.get_version.outputs.release_tarball }}" > "${{ steps.get_version.outputs.release_tarball }}.sha256"
261261 - name : Upload to versioned release
262262 if : contains(github.ref, 'refs/tags/v')
263263 uses : ncipollo/release-action@v1
@@ -270,7 +270,7 @@ jobs:
270270 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
271271 run : |
272272 cp toxcore-xcframework.tar.gz toxcore-nightly-xcframework.tar.gz
273- sha256sum toxcore-nightly- xcframework.tar.gz > toxcore-nightly-xcframework.tar.gz.sha256
273+ cp toxcore-xcframework.tar.gz.sha256 toxcore-nightly-xcframework.tar.gz.sha256
274274 - name : Upload to nightly release
275275 uses : ncipollo/release-action@v1
276276 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
0 commit comments