Skip to content

Commit

Permalink
Updated some of the workflow actions
Browse files Browse the repository at this point in the history
more workflow actions updated

fixed 1.0 bug in version number

Java distribution specified

Java distribution and version number for action

version of coactions/setup-xfvb to avoid Node warnings

coactions/setup-xvfb#29
  • Loading branch information
Dave Musicant / thinkpad authored and dmusican committed Jul 19, 2024
1 parent 195d3ec commit 8a18125
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,24 @@ jobs:
value=`cat release_url/release_url.txt`
echo ::set-output name=upload_url::$value
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '14' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to x64
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run headless test
uses: GabrielBB/[email protected]
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: mvn --no-transfer-progress test
- name: Build jar
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,23 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '14' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to x64
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run headless test
uses: GabrielBB/[email protected]
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: |
mvn --no-transfer-progress test

0 comments on commit 8a18125

Please sign in to comment.