Skip to content

Commit

Permalink
Upgrade GHAs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwart committed May 15, 2023
1 parent 674e668 commit 808ff79
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 23 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ updates:
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "thursday"
time: "02:00"
11 changes: 3 additions & 8 deletions .github/workflows/do-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Java and credentials
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'adopt'
Expand All @@ -31,12 +31,7 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Use Local Maven cache
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}

cache: 'maven'

- name: Do the Deployment and related stuff
run: |
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/pr-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ jobs:

steps:
- name: Get all the letters, words and paragraphs needed for the spell!
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Prepare the cauldron and the wand!
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Wave your wand then let potion brew for 2 minutes.
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}
cache: 'maven'
- name: Maven, now you do the magic! I enchant you the Bash way!
run: |
mvn --batch-mode --update-snapshots install
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/push-snapshots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
if: github.repository_owner == 'hazelcast'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Apache Maven Central
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'adopt'
Expand All @@ -25,12 +25,7 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Use Local Maven cache
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}

cache: 'maven'
- name: Publish to Apache Maven Central
run: |
PROJECT_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
Expand Down

0 comments on commit 808ff79

Please sign in to comment.