Skip to content

Commit

Permalink
upgrade CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Mar 1, 2025
1 parent 66a142f commit cd4a0a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -19,6 +19,8 @@ jobs:
with:
distribution: 'temurin'
java-version: 11
- name: Setup sbt
uses: sbt/setup-sbt@v1
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache sbt
uses: actions/cache@v4
with:
Expand All @@ -34,14 +36,16 @@ jobs:
name: Publish Artifacts
needs: [build]
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache sbt
uses: actions/cache@v4
with:
Expand Down

0 comments on commit cd4a0a2

Please sign in to comment.