-
Notifications
You must be signed in to change notification settings - Fork 4
68 lines (67 loc) · 2.77 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
65
66
67
68
name: Build contracts and release
on:
workflow_dispatch:
inputs:
release_name:
description: 'Unique release name'
required: true
type: string
permissions:
contents: write
pull-requests: write
repository-projects: write
packages: write
defaults:
run:
working-directory: ./
jobs:
release-soroswap-aggregator:
uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main
with:
release_name: ${{ github.ref_name }} # use git tag as unique release name
release_description: 'Soroswap Aggregator contract release' # some boring placeholder text to attach
relative_path: '["contracts/aggregator"]' # relative path to your really awesome contract
package: "soroswap-aggregator"
make_target: 'contracts/aggregator/Makefile' # make target to invoke
secrets: # the authentication token will be automatically created by GitHub
release_token: ${{ secrets.GITHUB_TOKEN }} # don't modify this line
release-soroswap-aggregator-deployer:
uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main
with:
release_name: ${{ github.ref_name }}
release_description: 'Soroswap Aggregator contract release'
relative_path: '["contracts/deployer"]'
package: "soroswap-aggregator-deployer"
make_target: 'contracts/deployer/Makefile'
secrets:
release_token: ${{ secrets.GITHUB_TOKEN }}
release-soroswap-adapter:
uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main
with:
release_name: ${{ github.ref_name }}
release_description: 'Soroswap Aggregator contract release'
relative_path: '["contracts/adapters/soroswap"]'
package: "soroswap-adapter"
make_target: 'contracts/adapters/soroswapMakefile'
secrets:
release_token: ${{ secrets.GITHUB_TOKEN }}
release-phoenix-adapter:
uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main
with:
release_name: ${{ github.ref_name }}
release_description: 'Soroswap Aggregator contract release'
relative_path: '["contracts/adapters/phoenix"]'
package: "phoenix-adapter"
make_target: 'contracts/adapters/phoenix/Makefile'
secrets:
release_token: ${{ secrets.GITHUB_TOKEN }}
release-adapter-interface:
uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main
with:
release_name: ${{ github.ref_name }}
release_description: 'Soroswap Aggregator contract release'
relative_path: '["contracts/adapters/interface"]'
package: "adapter-interface"
make_target: 'contracts/adapters/interface/Makefile'
secrets:
release_token: ${{ secrets.GITHUB_TOKEN }}