Skip to content

Commit

Permalink
Update deprecated workflow versions (#128)
Browse files Browse the repository at this point in the history
* Updates workflow versions

* Adds fetch-tags: true

* use yaml true instead of string true
  • Loading branch information
StrongestNumber9 authored Dec 2, 2024
1 parent 7d324c7 commit eb29e8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Initialize MariaDB
env:
Expand All @@ -47,7 +48,7 @@ jobs:
mysql -u root -h127.0.0.1 -P${MARIADB_PORT} <<< "flush privileges;"
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
Expand All @@ -74,7 +75,7 @@ jobs:

- name: Cache Coverity
id: cache_coverity
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.COVERITY }}
key: coverity
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Initialize MariaDB
env:
Expand All @@ -45,15 +46,15 @@ jobs:
mysql -u root -h127.0.0.1 -P${MARIADB_PORT} <<< "flush privileges;"
- name: Setup Signing
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8.0.292+10
distribution: 'adopt'
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Setup GitHub Packages
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8.0.292+10
distribution: 'adopt'
Expand All @@ -75,7 +76,7 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Setup Maven Central
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8.0.292+10
distribution: 'adopt'
Expand Down

0 comments on commit eb29e8a

Please sign in to comment.