Skip to content

Commit

Permalink
Merge pull request #1646 from eed3si9n/wip/actions
Browse files Browse the repository at this point in the history
ci: Update GitHub Actions to setup-java
  • Loading branch information
eed3si9n authored Nov 10, 2024
2 parents 7acfb04 + 8213f48 commit 878d38d
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 288 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

# setup build environment
- uses: coursier/cache-action@v5
- uses: olafurpg/setup-scala@v12
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1

# this setup is all for the github pages deployment to work
- name: install sphinx
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

# setup build environment
- uses: coursier/cache-action@v5
- uses: olafurpg/setup-scala@v12
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
Loading

0 comments on commit 878d38d

Please sign in to comment.