Skip to content

Commit

Permalink
Fix warnings in GitHub Actions and pom.xml (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen authored Mar 5, 2023
1 parent b3fd338 commit b022729
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,21 @@ jobs:
security-events: write # for github/codeql-action
runs-on: ubuntu-latest
env:
MAVN_ARGS: -e -B -DtrimStackTrace=false
MAVEN_ARGS: -e -B -DtrimStackTrace=false

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0

- name: Set up JDK
uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 #v3.4.1
uses: actions/setup-java@3f07048e3d294f56e9b90ac5ea2c6f74e9ad0f98 #v3.10.0
with:
java-version: 8
distribution: 'temurin'
cache: 'maven'

- name: Maven version
run: |
mkdir -p ./.mvn
mvn --version
mkdir -p target
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tzdbupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ jobs:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR
runs-on: ubuntu-latest
env:
MAVEN_ARGS: -e -B -DtrimStackTrace=false

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0
with:
token: ${{ secrets.PERSONAL_TOKEN_GH }}

- name: Set up JDK
uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 #v3.4.1
uses: actions/setup-java@3f07048e3d294f56e9b90ac5ea2c6f74e9ad0f98 #v3.10.0
with:
java-version: '8'
distribution: 'corretto'
cache: 'maven'

- name: Maven version
run: |
mkdir -p ./.mvn
echo '-e -B -DtrimStackTrace=false' > ./.mvn/maven.config
mvn --version
mkdir -p target
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,6 @@
<configuration>
<mainClass>org.joda.time.tz.ZoneInfoCompiler</mainClass>
<classpathScope>compile</classpathScope>
<verbose>true</verbose>
<systemProperties>
<systemProperty>
<key>org.joda.time.DateTimeZone.Provider</key>
Expand Down

0 comments on commit b022729

Please sign in to comment.