File tree 1 file changed +8
-15
lines changed
1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 1
- name : Cross Release After Testing
2
-
1
+ name : Cross Release
3
2
on :
4
- create :
5
- branches :
6
- - ' refs/tags/*'
7
-
3
+ push :
4
+ branches : [master]
5
+ tags : ["*"]
8
6
jobs :
9
- test-and-release :
10
-
7
+ publish :
11
8
runs-on : ubuntu-latest
12
-
13
9
env :
14
10
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE}}
15
11
GPG_KEYS : ${{ secrets.GPG_KEYS}}
16
12
SONATYPE_SBT : ${{ secrets.SONATYPE_SBT }}
17
-
13
+ PGP_SECRET : ${{ secrets.GPG_KEYS }}
14
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
15
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USER }}
18
16
steps :
19
17
- uses : actions/checkout@v1
20
18
- uses : olafurpg/setup-scala@v2
26
24
echo $SONATYPE_SBT > ~/.sbt/1.0/sonatype.sbt
27
25
- name : Test & Release
28
26
run : sbt ci-release
29
- env :
30
- PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
31
- PGP_SECRET : ${{ secrets.GPG_KEYS }}
32
- SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
33
- SONATYPE_USERNAME : ${{ secrets.SONATYPE_USER }}
You can’t perform that action at this time.
0 commit comments