mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
Update build.yml
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -71,3 +71,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: runner-package-${{ matrix.runtime }}
|
name: runner-package-${{ matrix.runtime }}
|
||||||
path: _package
|
path: _package
|
||||||
|
|
||||||
|
# compute shas and set as job outputs to use in release notes
|
||||||
|
- run: brew install coreutils #needed for shasum util
|
||||||
|
if: ${{ matrix.os == 'macOS-latest' }}
|
||||||
|
name: Install Dependencies for SHA Calculation (osx)
|
||||||
|
- run: |
|
||||||
|
file=$(ls)
|
||||||
|
sha=$(sha256sum $file | awk '{ print $1 }')
|
||||||
|
echo "Computed sha256: $sha for $file"
|
||||||
|
shell: bash
|
||||||
|
id: sha
|
||||||
|
name: Compute SHA256
|
||||||
|
working-directory: _package
|
||||||
|
|||||||
Reference in New Issue
Block a user