-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.08 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Release
on:
push:
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Metakit repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout Tessellation repo
uses: actions/checkout@v4
with:
repository: Constellation-Labs/tessellation
ref: v2.12.0
path: tessellation
- name: Setup Java, Scala, and SBT
uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
- name: Build and publish Tessellation artifacts locally
working-directory: tessellation
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: sbt publishLocal
- name: Build and publish Metakit artifacts to Maven
run: sbt ci-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}