Skip to content

Commit a01d1d1

Browse files
authored
Merge pull request #50 from eed3si9n/wip/bump-ubuntu
ci: Update to ubuntu-latest
2 parents 8ad7850 + a39bde2 commit a01d1d1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ on:
99
jobs:
1010
publish-artifacts:
1111
name: JDK 8
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
if: ${{ github.repository_owner == 'sbt' }}
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
1919
fetch-depth: 0
@@ -27,6 +27,9 @@ jobs:
2727
with:
2828
jvm: adoptium:8
2929

30+
- name: Setup sbt
31+
uses: sbt/setup-sbt@v1
32+
3033
- name: Publish artifacts
3134
run: sbt ci-release
3235
env:
@@ -38,6 +41,7 @@ jobs:
3841
- name: Cleanup before cache
3942
shell: bash
4043
run: |
44+
rm -rf "$HOME/.ivy2/local" || true
4145
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
4246
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
4347
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true

0 commit comments

Comments
 (0)