chore(deps): update dependency aws/aws-sdk-cpp to v1.11.496 #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Pull request checks | |
on: [pull_request] | |
concurrency: | |
group: pr-check-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
update-dep: | |
permissions: | |
contents: write | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ github.head_ref }} | |
show-progress: false | |
- name: Update the md5sum of aws/aws-sdk-cpp. | |
run: | | |
( | |
cd development/ddbsh/ | |
. ddbsh.info | |
# shellcheck disable=SC2086 | |
wget --content-disposition $DOWNLOAD | |
MD5SUM="$(md5sum aws-sdk-cpp*tar* | cut -f1 -d' ')" | |
rm -- *tar* | |
sed -i "/MD5SUM/,/DOWNLOAD_x86_64/s/[[:space:]][a-z0-9][a-z0-9]*\"/ $MD5SUM\"/" ddbsh.info | |
) | |
if [[ $(git status --porcelain) ]]; then | |
BUILD="$(grep ^BUILD= development/ddbsh/ddbsh.SlackBuild | cut -d= -f2 | cut -d- -f2 | sed 's/}$//')" | |
BUILD=$((BUILD + 1)) | |
sed -i "s/^BUILD.*/BUILD=\${BUILD:-$BUILD}/" development/ddbsh/ddbsh.SlackBuild | |
fi | |
- name: Push back updated md5sum. | |
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0 | |
with: | |
commit_message: Update aws-sdk-cpp MD5SUM. |