Skip to content

Commit 6f29307

Browse files
authored
Merge pull request blemale#490 from blemale/update/release-workflow
Update release workflow to follow sbt-ci-release recommendations
2 parents 33d340c + 2447273 commit 6f29307

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
name: Release
22
on:
33
push:
4-
branches: [master]
5-
tags: ["*"]
4+
branches: [master, main]
5+
tags: ["**"]
66
jobs:
77
publish:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2.3.4
10+
- uses: actions/checkout@v6
1111
with:
1212
fetch-depth: 0
13-
- uses: actions/setup-java@v4
13+
- uses: actions/setup-java@v5
1414
with:
1515
java-version: 11
1616
distribution: zulu
17+
cache: sbt
1718
- uses: sbt/setup-sbt@v1
1819
- run: sbt ci-release
1920
env:

0 commit comments

Comments
 (0)