-
Notifications
You must be signed in to change notification settings - Fork 26
64 lines (54 loc) · 1.78 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Release Contracts
on:
push:
tags:
- "release/[0-9]+"
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate schemas
run: |
make schemas
tar -czf schemas.tar.gz schemas/
- name: Create version map
run: make version-map
- name: Optimize contracts
run: make build
- name: Create artifacts archive
run: tar -czf contracts.tar.gz artifacts/
- name: Create Release
uses: softprops/[email protected]
with:
files: |
contracts.tar.gz
schemas.tar.gz
body: |
## Changes
See the [CHANGELOG](https://github.com/andromedaprotocol/andromeda-core/blob/main/CHANGELOG.md) for details.
## Building the Contracts from Source
To build the contracts from source, you can use the following commands:
```sh
git clone https://github.com/andromedaprotocol/andromeda-core.git
cd andromeda-core
make build
```
## Building the Contracts from Source (arm-64)
To build the contracts from source, you can use the following commands:
```sh
git clone https://github.com/andromedaprotocol/andromeda-core.git
cd andromeda-core
make build-arm
```
## Generating Schemas
To generate the schemas, you can use the following command:
```sh
git clone https://github.com/andromedaprotocol/andromeda-core.git
cd andromeda-core
make schemas
```
draft: true
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}