Skip to content

Commit 8535612

Browse files
author
gokhanoner
committed
add git action config
1 parent 3570474 commit 8535612

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,23 @@ on:
88
jobs:
99
build_sbt_1_0:
1010
runs-on: ubuntu-latest
11-
1211
steps:
13-
- uses: actions/checkout@v1
12+
- uses: actions/[email protected]
13+
with:
14+
fetch-depth: 0
15+
16+
# setup build environment
17+
- uses: coursier/cache-action@v6
18+
- uses: olafurpg/setup-scala@v13
1419
- name: sbt test and packagedArtifacts for sbt 1.x
1520
run: |
1621
sbt test packagedArtifacts
1722
- name: sbt Publish for sbt 1.x
18-
env:
19-
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
20-
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
2123
run: |
22-
echo 'sbt clean publish"'
23-
sbt clean publish
24+
echo 'sbt ci-release'
25+
sbt ci-release
26+
env:
27+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
28+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
29+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
30+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 commit comments

Comments
 (0)