Skip to content

Commit

Permalink
Update dependency-updates.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Apr 18, 2024
1 parent 086e702 commit ac3960e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/dependency-updates.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: dependency-updates
on:
push:
branches:
- develop
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
Expand All @@ -18,8 +20,8 @@ jobs:
| cut -d/ -f3 \
| sort -V \
| tail -1 \
| sed -E "s/\^\{\}//" \
| sed -E "s/maven-//"
| sed "s|\^{}||g" \
| sed "s|maven-||g"
)"
curl -sfL https://dlcdn.apache.org/maven/maven-3/"${MAVEN_VERSION}"/binaries/apache-maven-"${MAVEN_VERSION}"-bin.tar.gz || exit 1
sed -i "s|ARG MAVEN_VERSION=.*|ARG MAVEN_VERSION=$MAVEN_VERSION|" ./Dockerfile
Expand All @@ -46,8 +48,8 @@ jobs:
| cut -d/ -f3 \
| sort -V \
| tail -1 \
| sed -E "s/\^\{\}//" \
| sed -E "s/maven-//"
| sed "s|\^{}||g" \
| sed "s|maven-||g"
)"
curl -sfL https://dlcdn.apache.org/maven/maven-4/"${MAVEN4_VERSION}"/binaries/apache-maven-"${MAVEN4_VERSION}"-bin.tar.gz || exit 1
sed -i "s|ARG MAVEN4_VERSION=.*|ARG MAVEN4_VERSION=$MAVEN4_VERSION|" ./Dockerfile
Expand Down

0 comments on commit ac3960e

Please sign in to comment.