We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8faab56 commit 3539d97Copy full SHA for 3539d97
.github/workflows/snapshot.yml
@@ -0,0 +1,32 @@
1
+name: Snapshot Release
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - develop
7
+ - main
8
+ paths:
9
+ - '**.scala'
10
+ - '**.java'
11
+ - '**.sbt'
12
+ tag:
13
+ - '!v*'
14
15
+jobs:
16
+ publish_snapshots:
17
+ name: Publish snapshots
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ with:
22
+ fetch-depth: 10000
23
+ # Fetch all tags so that sbt-dynver can find the previous release version
24
+ - run: git fetch --tags
25
+ - uses: olafurpg/setup-scala@v10
26
27
+ java-version: adopt@1.11
28
+ - name: Publish snapshots
29
+ env:
30
+ SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
31
+ SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
32
+ run: ./sbt publish
0 commit comments